Response class
Registry Authorization — response payload
Constructors
- Response({required String entityId, required String authorityId, required String action, required String resource, required bool authorized, required String evaluatedAt, String? asOf, String? message, QueryContext? context, Ext? ext})
-
const
-
Response.fromJson(Map<
String, dynamic> json) -
Read this payload from a decoded JSON object.
factory
Properties
- action → String
-
final
- asOf → String?
-
The requested server time, echoed from the request
context.timewhen supplied.final -
final
-
True if the action+resource authorization has been confirmed, false otherwise.
final
- context → QueryContext?
-
final
- entityId → String
-
final
- evaluatedAt → String
-
Server time the query was evaluated at, per the endpoint clock.
final
- ext → Ext?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String?
-
Additional human-readable detail about the authorization response.
final
- resource → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize to a JSON-encodable map, omitting absent members.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited