We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 414a5ab commit f2ff311Copy full SHA for f2ff311
lib/state/connection/connection_cubit.dart
@@ -86,6 +86,8 @@ class ConnectionCubit extends Cubit<ConnectionState> {
86
/// Stream subscription for connectivity.
87
StreamSubscription<ConnectivityResult>? connectivitySubscription;
88
89
+ BaseAPI get api => _api as BinaryAPI;
90
+
91
/// Reconnect to Websocket.
92
Future<void> reconnect({
93
ConnectionInformation? connectionInformation,
0 commit comments