encode<V> static method

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

Implementation

static V encode<V>(
  ConnectEmbeddedPayoutsFeatures instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  container.encodeBool(
    'edit_payout_schedule',
    instance.editPayoutSchedule,
  );
  container.encodeBool(
    'instant_payouts',
    instance.instantPayouts,
  );
  container.encodeBool(
    'standard_payouts',
    instance.standardPayouts,
  );
  return container.value;
}