startSimulation static method

void startSimulation(
  1. SmartRoute route, {
  2. int speedKmH = 60,
})

Starts simulating movement along the given route. Useful for testing without real GPS.

Implementation

static void startSimulation(SmartRoute route, {int speedKmH = 60}) {
  SmartLocationImpl().startSimulation(route, speedKmH: speedKmH);
}