isDoneWithValue function

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

Convenience matcher that matches a resource state that is not loading, with the given value & source.

Optional key & error matchers can also be provided

Implementation

Matcher isDoneWithValue(
  Object? value,
  Source source, {
  Object? key,
  Object? error,
}) =>
    isNonLoadingStateWith(key: key, value: value, source: source, error: error);