BalanceTransactionSourceOrId.fromJson constructor
BalanceTransactionSourceOrId.fromJson(
- Object? json
Implementation
factory BalanceTransactionSourceOrId.fromJson(Object? json) {
if (json is String) {
return BalanceTransactionSourceId(id: json);
}
return BalanceTransactionSource.fromJson(json);
}