encode<V> static method

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

Implementation

static V encode<V>(
  PaymentLinksResourceSubscriptionDataInvoiceSettings instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  ConnectAccountReference.encode(
    instance.issuer,
    container.nestedSingleValueContainer('issuer').encoder,
  );
  return container.value;
}