BankAccountCustomerOrId.fromJson constructor

BankAccountCustomerOrId.fromJson(
  1. Object? json
)

Implementation

factory BankAccountCustomerOrId.fromJson(Object? json) {
  if (json is String) {
    return BankAccountCustomerId(id: json);
  }
  return BankAccountCustomer.fromJson(json);
}