query property Null safety

Query<InstanceType>? query
read / write

A query representing the values received from the request being processed.

You may execute this query as is or modify it. The following is true of this property:

  1. The Query will always have a type argument that matches InstanceType.
  2. If the request contains a path variable that matches the name of the primary key of InstanceType, the Query will set its Query.where to match on the ManagedObject whose primary key is that value of the path parameter.
  3. If the Request contains a body, it will be decoded per the acceptedContentTypes and deserialized into the Query.values property via ManagedObject.readFromMap.

Implementation

Query<InstanceType>? query;