PaymentFlowsInstallmentOptions.fromJson constructor
PaymentFlowsInstallmentOptions.fromJson(
- Object? json
Implementation
factory PaymentFlowsInstallmentOptions.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentFlowsInstallmentOptions(
enabled: (map['enabled'] as bool),
plan: map['plan'] == null
? null
: PaymentMethodDetailsCardInstallmentsPlan.fromJson(map['plan']),
);
}