DeclineInvitationsResponse.fromJson constructor

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

Implementation

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