MapmyIndiaDirection constructor
MapmyIndiaDirection({
- LatLng? origin,
- LatLng? destination,
- String? originELoc,
- String? destinationELoc,
- List<
LatLng> ? waypoint, - List<
String> ? waypointELoc, - List<
String> ? excludes, - List<
String> ? annotations, - int? routeType,
- bool? steps,
- bool? alternatives,
- List<
String> ? approaches, - DirectionBearing? bearing,
- List<
int> ? waypointIndices, - List<
String> ? waypointNames, - List<
LatLng> ? waypointTargets, - bool? bannerInstructions,
- bool? isSort,
- bool? lessVerbose,
- List<
double> ? radiuses, - bool? routeRefresh,
- String? deviceId,
- bool? roundaboutExits,
- String? sessionId,
- bool? voiceInstructions,
- String? voiceUnits,
- bool? skipWaypoints,
- String profile = DirectionCriteria.PROFILE_DRIVING,
- String resource = DirectionCriteria.RESOURCE_ROUTE,
- String overview = DirectionCriteria.OVERVIEW_FULL,
- String geometries = DirectionCriteria.GEOMETRY_POLYLINE6,
Implementation
MapmyIndiaDirection({
this.origin,
this.destination,
this.originELoc,
this.destinationELoc,
this.waypoint,
this.waypointELoc,
this.excludes,
this.annotations,
this.routeType,
this.steps,
this.alternatives,
this.approaches,
this.bearing,
this.waypointIndices,
this.waypointNames,
this.waypointTargets,
this.bannerInstructions,
this.isSort,
this.lessVerbose,
this.radiuses,
this.routeRefresh,
this.deviceId,
this.roundaboutExits,
this.sessionId,
this.voiceInstructions,
this.voiceUnits,
this.skipWaypoints,
this.profile = DirectionCriteria.PROFILE_DRIVING,
this.resource = DirectionCriteria.RESOURCE_ROUTE,
this.overview = DirectionCriteria.OVERVIEW_FULL,
this.geometries = DirectionCriteria.GEOMETRY_POLYLINE6,
}) : assert(originELoc != null || origin != null),
assert(destinationELoc != null || destination != null);