toMap method
Implementation
Map<String, dynamic> toMap() {
return {
"gid": gid,
"currency": currency?.toMap(),
"plan": plan?.toMap(),
"status": status,
"link": link,
"account": account?.toMap(),
"coupon": coupon?.toMap(),
"taxAmount": taxAmount?.toList(),
};
}