startNavigationFromUserLocation method
start the navigation from user location to the given coordinates
this method will start the navigation from the user location to the given coordinates, and in case no user location is found, the VPS scan will be triggered automatically to have a position
Implementation
Future<bool> startNavigationFromUserLocation(Coordinate coordinate) async {
bool result = false;
try {
result = await _channel.invokeMethod('startNavigationFromUserLocation',
{"destination": coordinate.toMap()});
return Future.value(result);
} catch (e) {
return Future.value(result);
}
}