stop method
Stops by deleting all the state, remotely and locally.
You must call PusherBeams.instance.start()
again if you want to receive notifications.
Example Usage
function someAsyncFunction() async {
await PusherBeams.instance.stop();
}
Throws an Exception in case of failure.
Implementation
@override
Future<void> stop() async {
await _pusherBeamsApi.stop();
if (!kIsWeb) {
_callbacks.clear();
}
}