encode<V> static method

V encode<V>(
  1. TreasuryInboundTransferFailureDetails instance,
  2. Encoder<V> encoder
)

Implementation

static V encode<V>(
  TreasuryInboundTransferFailureDetails instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  container.encodeString(
    'code',
    instance.code,
  );
  return container.value;
}