clearRegionWatch method

  1. @override
Future<String?> clearRegionWatch()
override

The function clears the region watch and returns a string value. @returns The method is returning a Future<String?>.

Implementation

@override
Future<String?> clearRegionWatch() async {
  final returnVal =
      await methodChannel.invokeMethod<String>('clearRegionWatch');
  _regionStream = null;
  return returnVal;
}