ByteSignature class
a callable class that generates a signature Bytes
Constructors
- ByteSignature(Secret secret, {BytesEncoder encoder = const HmacEncoder()})
-
the constructor takes a Secret as argument
default encoder is HmacEncoder
const
Properties
- encoder → BytesEncoder
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secret → Secret
-
final
Methods
-
call(
Payload p0) → Bytes -
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