BreakGlass class

How a self-granted right came to be, and whether another administrator has since ratified it. A record whose breakGlass has no ratifiedBy is unratified: it is live and published like any other right, it does not count toward the last-owner or last-admin invariants, and any community administrator or namespace admin of its namespace may revoke it. Ratification (git-ns/right/ratify) sets ratifiedBy and ratifiedAt; from then on the record is an ordinary grant, and breakGlass stays as its history. Never published to the Trust Registry.

Constructors

BreakGlass({required Did by, required String at, required String justification, String? effectiveAt, Did? ratifiedBy, String? ratifiedAt})
const
BreakGlass.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

at → ForgeHost
When the VTC recorded the break-glass.
final
by → ForgeHost
Who broke the glass: always the record's subject, restated so the flag reads on its own.
final
effectiveAt → String?
When the right takes effect, where the community's policy imposed a delay. Absent: it took effect at at. Until this instant the record confers nothing and is not published, and any administrator who may revoke it may do so.
final
hashCode → int
The hash code for this object.
no setterinherited
justification → ForgeHost
The actor's statement of why nobody else could grant this right. Shown to every community administrator, every namespace admin of the namespace and every owner of the resource; kept in the audit record; never published.
final
ratifiedAt → String?
When it was ratified. Present exactly when ratifiedBy is.
final
ratifiedBy → String?
The administrator who ratified the record — never its subject. Absent while unratified.
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() → ForgeHost
A string representation of this object.
inherited

Operators

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