LocationSimulator.withRoute constructor
- Route route,
- LocationSimulatorOptions options
Creates a new instance of this class.
-
routeThe route to travel. -
optionsThe options to specify how the location simulator will behave.
Throws InstantiationException. Indicates what went wrong when the instantiation was attempted.
Implementation
factory LocationSimulator.withRoute(Route route, LocationSimulatorOptions options) => $prototype.withRoute(route, options);