Google is committed to advancing racial equity for Black communities. See how.

decode method

  • @override

String decode (Decoder decoder, int offset, int depth)

override

Implementation

@override
String decode(Decoder decoder, int offset, int depth) {
  String? value = _decodeString(decoder, offset, depth);
  if (value == null) {
    throw _notNullable;
  }
  _throwIfExceedsLimit(value.length, maybeElementCount);
  return value;
}