dispose method
void
dispose()
Disposes of the SDK and cleans up resources
Implementation
void dispose() {
_registeredOnErrorCallbacks.remove(callbacks.onError);
_subscriptions.cancelAll();
_methodChannel.setMethodCallHandler(null);
}