DirectionsRequest constructor
DirectionsRequest({
- required Point from,
- required Point to,
- String? poiToIdentifier,
- Angle? bearingFrom,
- bool? minimizeFloorChanges,
- AccessibilityMode? accessibilityMode,
- String destinationIdentifier = EMPTY_ID,
- String destinationCategory = CATEGORY_LOCATION,
- String originIdentifier = EMPTY_ID,
- String originCategory = CATEGORY_LOCATION,
Implementation
DirectionsRequest({
required this.from,
required this.to,
this.poiToIdentifier,
this.bearingFrom,
this.minimizeFloorChanges,
this.accessibilityMode,
this.destinationIdentifier = EMPTY_ID,
this.destinationCategory = CATEGORY_LOCATION,
this.originIdentifier = EMPTY_ID,
this.originCategory = CATEGORY_LOCATION,
}) {
// This buildingId is useful on the native side.
buildingIdentifier = from.buildingIdentifier;
}