AsyncState<S extends Object?>.loading constructor

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

Creates a loading state.

Use this when the asynchronous operation is in progress.

Implementation

const AsyncState.loading() : super.loading();