Relationship.fromJson constructor
Implementation
factory Relationship.fromJson(Map<String, dynamic> json) {
return Relationship(
ids: (json['Ids'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
type: (json['Type'] as String?)?.toRelationshipType(),
);
}