IaphubError.fromJson constructor

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

Constructor from JSON

Implementation

IaphubError.fromJson(Map<String, dynamic> json)
    : message = json["message"] ?? "No message",
      code = json["code"] ?? "unexpected",
      subcode = json["subcode"],
      params = json["params"];