CreateMembersResponse.fromJson constructor
CreateMembersResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory CreateMembersResponse.fromJson(Map<String, dynamic> json) {
return CreateMembersResponse(
members: (json['Members'] 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(),
);
}