AgentGuardTarget class final

What a guard is asked about: one target a call reads or writes, or one it is about to create.

Constructors

AgentGuardTarget({required String id, required String kind, bool excluded = false})
const
AgentGuardTarget.creating(String kind, {String? parentId, bool excluded = false})
const

Properties

excluded → bool
Gate 1's fact: the application keeps this target out of the surface.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
The target's id; null for a target being created, which has no id a scope could have named when it was made.
final
kind → String
final
parentId → String?
For a target being created: where it is placed. Gate 4 admits a new target through its parent, because the parent is the scope's grant.
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
toString() → String
A string representation of this object.
inherited

Operators

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