CheckPaymentModel.fromJson constructor

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

Implementation

factory CheckPaymentModel.fromJson(Map<String, dynamic> json) =>
    CheckPaymentModel(
      success: json["success"],
      code: json["code"],
      description: json["description"],
      data: json["data"] == null ? null : Data.fromJson(json["data"]),
    );