FakePrefetchQuery class final
A hand-written AssetSource for tests. There is no mocking library in this repo, by design.
Every field is public and mutable so a test can reshape the library between
calls — which is exactly what the limited-access flow needs.
One recorded prefetch() call.
Constructors
-
FakePrefetchQuery(List<
String> ids, ThumbSize size, int quality) -
Creates a FakePrefetchQuery.
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited