Payload.fromJson constructor

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

Implementation

Payload.fromJson(Map<String, dynamic> json) {
  androidApplicationId = json["android_application_id"];
  iosApplicationId = json["ios_application_id"];

  pg = json["pg"];
  method = json["method"];
  methods = json["methods"];
  name = json["name"];

  price = json["price"];
  taxFree = json["tax_free"];

  orderId = json["order_id"];
  useOrderId = json["use_order_id"];

  params = json["params"];

  accountExpireAt = json["account_expire_at"];
  showAgreeWindow = json["show_agree_window"];

  bootKey = json["boot_key"];
  ux = json["ux"];
  smsUse = json["sms_use"];
  userToken = json["user_token"];
}