encode<V> static method

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

Implementation

static V encode<V>(
  AccountAcssDebitPayments instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  if (instance.requested != null) {
    container.encodeBool(
      'requested',
      instance.requested!,
    );
  }
  return container.value;
}