encode<V> static method
Implementation
static V encode<V>(
PaymentMethodConfigResourcePaymentMethodProperties instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
container.encodeBool(
'available',
instance.available,
);
PaymentMethodConfigResourceDisplayPreference.encode(
instance.displayPreference,
container.nestedSingleValueContainer('display_preference').encoder,
);
return container.value;
}