GetSubscriptionDetail.fromJson constructor

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

Implementation

factory GetSubscriptionDetail.fromJson(Map<String, dynamic> json) =>
    GetSubscriptionDetail(
      code: json["code"] ?? "",
      message: json["message"] ?? "",
      messageKh: json["message_kh"] ?? "",
      data: DataDetail.fromJson(json["data"] ?? {}),
    );