toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'id': id,
'name': name,
'desc': desc,
'price': price,
'localPrice': localPrice,
'type': type,
'rawJson': rawJson,
'periodUnit': periodUnit,
'periodValue': periodValue,
'period': period,
'introOffer': introOffer,
'introPeriod': introPeriod,
'hasTrial': hasTrial,
};
}