encode<V> static method
Implementation
static V encode<V>(
PaymentMethodConfigBizPaymentMethodConfigurationDetails instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
container.encodeString(
'id',
instance.id,
);
if (instance.parent != null) {
container.encodeString(
'parent',
instance.parent!,
);
}
return container.value;
}