GetMembersResponse.fromJson constructor
GetMembersResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory GetMembersResponse.fromJson(Map<String, dynamic> json) {
return GetMembersResponse(
memberDetails: (json['MemberDetails'] as List?)
?.whereNotNull()
.map((e) => MemberDetail.fromJson(e as Map<String, dynamic>))
.toList(),
unprocessedAccounts: (json['UnprocessedAccounts'] as List?)
?.whereNotNull()
.map((e) => UnprocessedAccount.fromJson(e as Map<String, dynamic>))
.toList(),
);
}