toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = Map<String, dynamic>();
data['identifier'] = this.identifier;
data['type'] = this.type;
data['numberOfPeriods'] = this.numberOfPeriods;
data['price'] = this.price;
data['localizedPrice'] = this.localizedPrice;
data['paymentMode'] = this.paymentMode;
data['subscriptionPeriod'] = this.subscriptionPeriod;
return data;
}