willUpdateObjectWithQuery method Null safety
- Query<
InstanceType> ? query
Executed prior to a update 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 values will be inserted and didNotFindObjectToUpdateWithID will immediately be called with the value null.
Implementation
FutureOr<Query<InstanceType>?> willUpdateObjectWithQuery(
Query<InstanceType>? query,
) {
return query;
}