GetRelationshipResponse.fromJson constructor

GetRelationshipResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

GetRelationshipResponse.fromJson(Map<String, dynamic> json) {
  if (json['Relationship'] != null) {
    relationship = [];
    json['Relationship'].forEach((v) {
      relationship!.add(Relationship.fromJson(v));
    });
  }
}