Relationship.fromJson constructor
Implementation
factory Relationship.fromJson(Map<String, dynamic> json) {
return Relationship(
relationshipName: json['relationshipName'] as String?,
resourceId: json['resourceId'] as String?,
resourceName: json['resourceName'] as String?,
resourceType: (json['resourceType'] as String?)?.toResourceType(),
);
}