UserSettings.fromJson constructor
UserSettings.fromJson(
- Map parsedJson
Implementation
factory UserSettings.fromJson(Map<dynamic, dynamic> parsedJson) {
return new UserSettings(
pushNewMessages: parsedJson['pushNewMessages'] ?? true);
}