encode<V> static method

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

Implementation

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