You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Address.fromMap(Map<String, dynamic> m)
: city = m['city'],
postalCode = m['postalCode'],
state = m['state'];
Map<String, dynamic> toMap() => {
'city': city,
'postalCode': postalCode,
'state': state
};
snake_case:
Address.fromMap(Map<String, dynamic> m)
: city = m['city'],
postalCode = m['postal_code'],
state = m['state'];
Map<String, dynamic> toMap() => {
'city': city,
'postal_code': postalCode,
'state': state
};
User should be able to set this in build config file, or per class like:
@data(caseStyle=CaseStyle.snake)
The text was updated successfully, but these errors were encountered:
camelCase (default):
snake_case:
User should be able to set this in build config file, or per class like:
The text was updated successfully, but these errors were encountered: