toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'from': from,
    'to': to,
    'mode': mode,
    'searchType': searchType,
    'range': range,
    'polylines': polylines,
  };
}