ValidPass.fromJson constructor

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

Implementation

ValidPass.fromJson(Map<String, dynamic> json) {
  title = json['title'];
  price = json['price'];
  duration = json['duration'];
  currency = json['currency'];
}