Future<double> getCurrentPosition() async { double? ret = await _channel.invokeMethod("getCurrentPosition"); return ret ?? -1; }