startLocation method

Future<void> startLocation ()

start location, 开始定位

调用此方法开始进行定位,定位成功后,结果通过回调方法获取

Implementation

static Future<void> startLocation() async {
  await _channel.invokeMethod("startLocation");
}