stopPositionUpdate method

  1. @override
Future<bool> stopPositionUpdate()
override

Stop listen location change.

Implementation

@override
Future<bool> stopPositionUpdate() async {
  try {
    return await methodChannel.invokeMethod(Methods.stopPositionUpdate);
  } on PlatformException catch (e) {
    final error = _handlePlatformException(e);
    throw error;
  }
}