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