CborSignedValue class
A class representing a CBOR (Concise Binary Object Representation) int (64-byte) value.
- Available extensions
Constructors
- CborSignedValue.i32(int value)
-
factory
- CborSignedValue.i64(dynamic value)
-
factory
Properties
- hashCode → int
-
override hashcode
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → dynamic
-
value as bigint
final
Methods
-
encode(
) → List< int> -
Encode the value into CBOR bytes
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toBigInt(
) → BigInt -
value as bigint
override
-
toCborHex(
) → String -
Encode the value into CBOR bytes an then to hex
override
-
toInt(
) → int -
value as int
override
-
toString(
) → String -
Returns the string representation of the value.
override
Operators
-
operator ==(
Object other) → bool -
override equal operation
override