encode<V> static method
Implementation
static V encode<V>(
BankConnectionsResourceBalanceApiResourceCashBalance instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.available != null) {
container.encodeMap(
'available',
(container) => instance.available!.forEach((
key,
value,
) =>
container.encodeInt(
key,
value,
)),
);
}
return container.value;
}