encode<V> static method
Implementation
static V encode<V>(
PaymentIntentNextActionKonbiniStores instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.familymart != null) {
PaymentIntentNextActionKonbiniSeicomart.encode(
instance.familymart!,
container.nestedSingleValueContainer('familymart').encoder,
);
}
if (instance.lawson != null) {
PaymentIntentNextActionKonbiniSeicomart.encode(
instance.lawson!,
container.nestedSingleValueContainer('lawson').encoder,
);
}
if (instance.ministop != null) {
PaymentIntentNextActionKonbiniSeicomart.encode(
instance.ministop!,
container.nestedSingleValueContainer('ministop').encoder,
);
}
if (instance.seicomart != null) {
PaymentIntentNextActionKonbiniSeicomart.encode(
instance.seicomart!,
container.nestedSingleValueContainer('seicomart').encoder,
);
}
return container.value;
}