encode<V> static method

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

Implementation

static V encode<V>(
  PaymentMethodDetailsCardNetworkToken instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  container.encodeBool(
    'used',
    instance.used,
  );
  return container.value;
}