ListMemberAccountsResponse.fromJson constructor

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

Implementation

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