EncodingLengthInfo class

Information about whether the length of an encoding depends on the data (dynamic) or is fixed (static). If it's static, also contains information about the length of the encoding.

Constructors

EncodingLengthInfo(int? length)
Constructor.
const
EncodingLengthInfo.dynamic()
Constructor.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isDynamic bool
Whether the length of the encoding will depend on the data being encoded.
no setter
length int?
When this encoding length is not isDynamic, the length (in bytes) of an encoded payload. Otherwise null.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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