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