willFindObjectsWithQuery method Null safety
- Query<
InstanceType> ? query
Executed prior to a fetch query being executed.
You may modify the query
prior to its execution in this method. You may also return a new Query
,
but it must have the same type argument as this controller. If you return null from this method,
no objects will be fetched and didFindObjects will immediately be called with the value null.
Implementation
FutureOr<Query<InstanceType>?> willFindObjectsWithQuery(
Query<InstanceType>? query,
) {
return query;
}