encodingLength property
Information about how long the encoding will be.
Implementation
@override
EncodingLengthInfo get encodingLength {
if (type.encodingLength.isDynamic) {
return const EncodingLengthInfo.dynamic();
}
return EncodingLengthInfo(type.encodingLength.length! * length);
}