$unpackString method Null safety

String $unpackString()

Implementation

String $unpackString() {
	final int length = _data!.buffer.asByteData().getUint32(_offset, Endian.big);
	_offset += 4;
	final String result = _utf8.decoder.convert(_data!.buffer.asUint8List(_offset, length));
	_offset += length;
	return result;
}