CreatePaymentModel.fromJson constructor

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

Implementation

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