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