ConnectivityBloc constructor Null safety

ConnectivityBloc(
  1. Connectivity _connectivity
)

Implementation

ConnectivityBloc(this._connectivity) : super(ConnectivityState.initial) {
  on<ConnectivityRequested>(_onConnectivityRequested);
  on<ConnectivityLost>(_onConnectivityLost);
  on<ConnectivityRetrieved>(_onConnectivityRetrieved);
}