toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> _data = <String, dynamic>{};
  _data["stop"] = stop;
  _data["start"] = start;
  _data["available"] = available;
  return _data;
}