toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final data = <String, dynamic>{};
  data['opentime'] = this.opentime;
  data['rating'] = this.rating;
  data['cost'] = this.cost;
  return data;
}