startMockingWithGpx method
Implementation
@override
Future<bool> startMockingWithGpx(String gpxData,
{double playbackSpeed = 1.0}) async {
try {
final result = await methodChannel.invokeMethod('startMockingWithGpx', {
'gpxData': gpxData,
'playbackSpeed': playbackSpeed,
});
return result;
} on PlatformException catch (e) {
debugPrint('Failed to start mocking: ${e.message}');
return false;
}
}