encode<V> static method

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

Implementation

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