encode<V> static method

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

Implementation

static V encode<V>(
  InvoiceCreateOptionsFromInvoice instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  container.encodeString(
    'action',
    'revision',
  );
  container.encodeString(
    'invoice',
    instance.invoice,
  );
  return container.value;
}