CheckoutCardInstallmentsOptions.fromJson constructor

CheckoutCardInstallmentsOptions.fromJson(
  1. Object? json
)

Implementation

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