CorkBuilder class final
- Implementers
Constructors
- CorkBuilder([Uint8List? id])
-
factory
Properties
- audience ← GeneratedMessage
-
Sets the Cork.audience of the cork.
no getter
- bearer ← GeneratedMessage
-
Sets the Cork.bearer of the cork.
no getter
- claims ← GeneratedMessage
-
Sets the Cork.claims of the cork.
no getter
- hashCode → int
-
The hash code for this object.
no setterinherited
- issuer ← GeneratedMessage
-
Sets the Cork.issuer of the cork.
no getter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addCaveat(
GeneratedMessage caveat) → void - Appends a caveat to the cork's Cork.caveats.
-
build(
) → Cork - Builds and validates the Cork.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
) → void - Validates the cork's properties before building.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited