encode<V> static method

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

Implementation

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