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