Cork class final

Annotations
  • @immutable

Constructors

Cork.decode(Uint8List bytes)
factory
Cork.fromProto(Cork proto)
factory
Cork.parse(String base64)
factory

Properties

bearer SignedBearer?
final
caveats List<SignedCaveat>
no setter
hashCode int
The hash code for this object.
no setterinherited
id Uint8List
final
keyId Uint8List
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature Uint8List
final

Methods

encode() Uint8List
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toProto() Cork
toString() String
A string representation of this object.
override
verify(Signer signer) Future<bool>

Operators

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

Static Methods

builder({Uint8List? id, Bearer? bearer}) CorkBuilder