AsyncValueIsLoadingException constructor

AsyncValueIsLoadingException(
  1. AsyncValue<Object?> value
)

Creates the exception thrown by AsyncValue.requireValue when value is loading.

This is useful to reproduce the behavior of AsyncValue.requireValue, such as when mocking a provider.

Implementation

AsyncValueIsLoadingException(this.value);