ByteToken class

a class that stores a signature as Bytes and a Payload

Constructors

ByteToken({required Bytes signature, required Payload payload})
base constant constructor
const
ByteToken.fromBuffer(Bytes buffer)
a factory constructor from binary data
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
payload Payload
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature Bytes
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBuffer() Bytes
converts the object to binary data
toJson() → Json
outputs a map compatible with jsonEncode
toString() String
A string representation of this object.
override

Operators

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