BaseAsyncState<S extends Object?>.loading constructor

const BaseAsyncState<S extends Object?>.loading()

Creates a loading state.

Use this when the asynchronous operation is in progress.

Implementation

const BaseAsyncState.loading()
    : data = null,
      errorState = null,
      _status = AsyncStatus.loading;