DartItem class

The CBOR Dart item class. Objects of this class are produced by by the decode process.

Constructors

DartItem()

Properties

complete bool
Is the type complete, i,e is its actual size equql to its target size.
getter/setter pair
data ↔ dynamic
The item data.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hint dataHints
Possible type usage hint for buffer or string types. See RFC 7049 for more details. Also used to indicate an error condition in which case the data field will contain a string representation of the error.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetSize int
Target size is what we expect the size to be.
getter/setter pair
type dartTypes
The item type, one of the major types.
getter/setter pair

Methods

isIterable() bool
Is an iterable(map or list etc. ) item
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
size() int
Actual size
toString() String
A string representation of this object.
inherited

Operators

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