startListening static method

Future<void> startListening()

Start listening to background/foreground events.

Implementation

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