encode<V> static method

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

Implementation

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