PaymentOptionsModel.fromJson constructor Null safety

PaymentOptionsModel.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory PaymentOptionsModel.fromJson(Map<String, dynamic> json) =>
    PaymentOptionsModel(
      id: json["id"],
      code: json["code"],
      title: json["title"],
      additionalFees: json["additionalFees"],
      hasCashLimit: json["hasCashLimit"],
      cashLimit: json["cashLimit"],
      cashLimitMsg: json["cashLimitMsg"],
      image: json["image"],
      currencySymbol: json["currencySymbol"],
    );