CustomerCashBalanceTransactionOrId.fromJson constructor
CustomerCashBalanceTransactionOrId.fromJson(
- Object? json
Implementation
factory CustomerCashBalanceTransactionOrId.fromJson(Object? json) {
if (json is String) {
return CustomerCashBalanceTransactionId(id: json);
}
return CustomerCashBalanceTransaction.fromJson(json);
}