QueryResponse class Null safety

Response payload sent back to a physical web client.

This response contains the record found based on the identiers present in a QueryRequest. The returned response will have a record, and sometimes details on normalization actions taken on the request that were necessary to make the request successful.

Constructors

QueryResponse({Record? record, UrlNormalization? urlNormalizationDetails})
QueryResponse.fromJson(Map _json)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
record Record?
The record that was found.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
urlNormalizationDetails UrlNormalization?
These are details about automated normalization actions that were taken in order to make the requested url_pattern valid.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited