AgentExecutionGrant class final

The statement an application shows a user before execution is granted, as the value an execution grant is checked against.

An application declares one, written once; its grant affordance renders statement and hands back the text it showed to AgentInvocation.withExecution, which refuses to mint unless the two are the same. So a grant cannot be made by code that never put the statement in front of anyone.

Constructors

AgentExecutionGrant(String statement)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statement → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited