BankAccount.fromJson constructor

BankAccount.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory BankAccount.fromJson(Map<String, Object?> json) => BankAccount(
      ghanaBankAccount: json["ghana_bank_account"] == null
          ? null
          : BankAccountGhanaBankAccount.fromJson(
              (json["ghana_bank_account"] as Map).cast<String, Object?>(),
            ),
      type: inttegro_bank_account.Type.fromJson(json["type"]),
    );