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

decode method

*<Null safety>*
  • @override

T decode (Decoder decoder, int offset, int depth) override

Implementation

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