ValidPass.fromJson constructor

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

Implementation

factory ValidPass.fromJson(Map<String, dynamic> json) => ValidPass(
      title: json["title"] == null ? null : json["title"],
      price: json["price"] == null ? null : json["price"],
      duration: json["duration"] == null ? null : json["duration"],
      currency: json["currency"] == null ? null : json["currency"],
    );