Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
value
→ T
An abstract property representing the dynamic value contained in the CBOR object.
final inherited
variables
→ List
no setter inherited
Methods
cast <E extends CborObject <Object ? > > ()
→ E
inherited
encode ()
→ List <int >
Encode the object's value to its CBOR representation and return it as a List<int>.
inherited
getValue ()
→ Object ?
inherited
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBigInt ()
→ BigInt
Convert the CborNumeric object to a BigInt.
toCborHex ()
→ String
Convert the object's CBOR representation to a hexadecimal string.
inherited
toInt ()
→ int
Convert the CborNumeric object to an integer.
toString ()
→ String
A string representation of this object.
inherited
Static Methods
getCborNumericValue (CborNumeric val )
→ BigInt
Retrieve the numeric value from a CborNumeric object and return it as a BigInt.
This function is used to extract the numeric value from different CborNumeric subtypes.