ConnectivityBloc constructor Null safety
- Connectivity _connectivity
Implementation
ConnectivityBloc(this._connectivity) : super(ConnectivityState.initial) {
on<ConnectivityRequested>(_onConnectivityRequested);
on<ConnectivityLost>(_onConnectivityLost);
on<ConnectivityRetrieved>(_onConnectivityRetrieved);
}