PaySubscriptionResponse.fromJson constructor

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

Implementation

factory PaySubscriptionResponse.fromJson(Map<String, dynamic> json) =>
    PaySubscriptionResponse(
      data: json["data"] == null
          ? null
          : PaySubscriptionResponseData.fromJson(json["data"]),
      lastAction: json["last_action"],
      subscription: json["subscription"] == null
          ? null
          : Subscription.fromJson(json["subscription"]),
      success: json["success"],
      textResponse: json["text_response"],
      titleResponse: json["title_response"],
    );