CoderAsyncState<T>.error constructor
CoderAsyncState<T>.error (
- String error
Factory to create a state containing error message.
Implementation
factory CoderAsyncState.error(String error) =>
CoderAsyncState._(error: error, isLoading: false);