initial method Null safety

  1. @override
void initial()
override

Implementation

@override
void initial() {
  this._isLoadingSC = BehaviorSubject<bool>();
  this._isLoadedSC = BehaviorSubject<bool>();
  this._isErrorSC = BehaviorSubject<bool>();
  this._errorMessageSC = BehaviorSubject<String>();

  this._itemsSC = BehaviorSubject<List<T>?>();
  this._dataSC = BehaviorSubject<T?>();
}