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

decode method

*<Null safety>*
  • @override

T decode (Decoder decoder, int offset) override

Implementation

@override
T decode(Decoder decoder, int offset) {
  T? value = _decodeUnion(decoder, offset, members, ctor, flexible, resource);
  if (value == null) {
    throw _notNullable;
  }
  return value;
}