getValue method
Gets the value of the string.
Decodes the stored UTF-8 bytes to a Dart string.
@return The string value.
Implementation
String getValue() {
if (length == 0) return '';
final bytes = data.asTypedList(length);
return utf8.decode(bytes);
}