clearAllState method
Clear all the state from PusherBeams library, leaving an empty state.
Example Usage
function someAsyncFunction() async {
await PusherBeams.instance.clearAllState();
}
Throws an Exception in case of failure.
Implementation
@override
Future<void> clearAllState() async {
await _pusherBeamsApi.clearAllState();
if (!kIsWeb) {
_callbacks.clear();
}
}