Google celebrates Hispanic Heritage Month. 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, FidlErrorCode.fidlStringTooLong);
  return value;
}