Future<bool> onDisconnected

return true if it's authentication error

Source

Future<bool> get onDisconnected => _onDisconnectedCompleter.future;