ListMemberAccountsResult.fromJson constructor

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

Implementation

factory ListMemberAccountsResult.fromJson(Map<String, dynamic> json) {
  return ListMemberAccountsResult(
    memberAccounts: (json['memberAccounts'] as List?)
        ?.whereNotNull()
        .map((e) => MemberAccount.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['nextToken'] as String?,
  );
}