DeleteMembersResponse.fromJson constructor

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

Implementation

factory DeleteMembersResponse.fromJson(Map<String, dynamic> json) {
  return DeleteMembersResponse(
    accountIds: (json['AccountIds'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    unprocessedAccounts: (json['UnprocessedAccounts'] as List?)
        ?.whereNotNull()
        .map((e) => UnprocessedAccount.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}