toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['nation_code'] = this.nationCode;
  data['id'] = this.id;
  data['earned_ticket'] = this.earnedTicket;
  data['price'] = this.price;
  data['cdate'] = this.cdate;
  data['is_active'] = this.isActive;
  return data;
}