stopLocation method

Future<bool> stopLocation()

停止监听位置改变

Implementation

Future<bool> stopLocation() async {
  if (!_supportPlatform || !_isInitialize) return false;
  final bool? state = await _channel.invokeMethod('stopLocation');
  return state ?? false;
}