BankConnectionsResourceBalanceApiResourceCashBalance.fromJson constructor
BankConnectionsResourceBalanceApiResourceCashBalance.fromJson(
- Object? json
Implementation
factory BankConnectionsResourceBalanceApiResourceCashBalance.fromJson(
Object? json) {
final map = (json as Map).cast<String, Object?>();
return BankConnectionsResourceBalanceApiResourceCashBalance(
available: map['available'] == null
? null
: (map['available'] as Map).cast<String, Object?>().map((
key,
value,
) =>
MapEntry(
key,
(value as num).toInt(),
)));
}