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