encode<V> static method

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

Implementation

static V encode<V>(
  PaymentIntentEps instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  if (instance.bank != null) {
    container.encodeString(
      'bank',
      instance.bank!,
    );
  }
  return container.value;
}