LoadableState<T>.withErrorMessage constructor

LoadableState<T>.withErrorMessage(
  1. String? errorMessage
)

Implementation

factory LoadableState.withErrorMessage(String? errorMessage) => LoadableState(
    errorMessage: errorMessage, isLoading: false, hasLoaded: true);