decodeStringOrNull method

  1. @override
String? decodeStringOrNull()
override

Decodes the data as a nullable string value.

Implementation

@override
String? decodeStringOrNull() {
  skipWhitespace();
  if (buffer[_offset] == tokenN) {
    _offset += 4;
    return null;
  }
  return _readString();
}