isLoadingStateWith function

Matcher isLoadingStateWith({
  1. Object? key,
  2. Object? value,
  3. Object? error,
  4. Source? source,
})

Matcher that matches a resource state that is loading.

Matchers for other properties can also be provided.

Implementation

Matcher isLoadingStateWith({
  Object? key,
  Object? value,
  Object? error,
  Source? source,
}) =>
    isStateWith(
      isLoading: true,
      key: key,
      value: value,
      error: error,
      source: source,
    );