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