isSnapshotOf<V> function

Matcher isSnapshotOf<V>({
  1. bool? isLoading,
  2. Object? value,
  3. Object? error,
  4. Source? source,
})

Matcher that matches a StateSnapshot that is strictly of the provided generic value type.

Implementation

Matcher isSnapshotOf<V>({
  bool? isLoading,
  Object? value,
  Object? error,
  Source? source,
}) =>
    _ResourceStateMatcher<Object, V>(
        isLoading, null, value, error, source, true);