RelatedResource.fromJson constructor
RelatedResource.fromJson(
- Map<String, dynamic> json
)
Implementation
factory RelatedResource.fromJson(Map<String, dynamic> json) {
return RelatedResource(
additionalInfo: (json['additionalInfo'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
resourceIdentifier: json['resourceIdentifier'] != null
? ResourceIdentifier.fromJson(
json['resourceIdentifier'] as Map<String, dynamic>)
: null,
resourceType: (json['resourceType'] as String?)?.toResourceType(),
);
}