Subscriptions.fromJson constructor
Subscriptions.fromJson( - Map<String, dynamic> json
)
Implementation
Subscriptions.fromJson(Map<String, dynamic> json) {
id = json['id'];
subscriberId = json['subscriberId'];
price = json['price'];
status = json['status'];
wallet = json['wallet'];
paymentHash = json['paymentHash'];
currency = json['currency'];
passengerChangeCounter = json['passengerChangeCounter'];
package = json['package'];
expiryDate = json['expiryDate'];
type = json['type'];
maxTotalBooking = json['maxTotalBooking'];
neoMilesPaymentPercentage = json['neoMilesPaymentPercentage'];
neoOneMonthlySubscription = json['neoOneMonthlySubscription'];
paymentId = json['paymentId'];
createdAt = json['createdAt'];
updatedAt = json['updatedAt'];
name = json['name'];
}