unpackString method

String? unpackString()

Unpacks the next value as a String.

Returns null if the value is a MessagePack nil byte.

Implementation

@pragma('vm:prefer-inline')
String? unpackString() => _readNullable(_unpackString);