fromJson static method
Returns a new PersonPatchPreferencesNotification instance and imports its values from
json
if it's non-null, null if json
is null.
Implementation
static PersonPatchPreferencesNotification? fromJson(
Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return PersonPatchPreferencesNotification(
mail: json[r'mail'],
push: json[r'push'],
);
}