status property

RxStatus<T> get status

Implementation

RxStatus<T> get status {
  reportRead();
  return _status ??= _status = RxStatus.loading();
}
set status (RxStatus<T> newStatus)

Implementation

set status(RxStatus<T> newStatus) {
  if (newStatus == status) return;
  _status = newStatus;
  if (newStatus is SuccessStatus<T>) {
    _value = newStatus.data!;
  }
  refresh();
}