stopListening static method

Future<void> stopListening()

Stop listening to background/foreground events.

Implementation

static Future<void> stopListening() async {
  return _methodChannel.invokeMethod('stop');
}