types property Null safety

Iterable<Type> types

The Types that can be serialized.

They must all be equal to T or a subclass of T. Subclasses are used when T is an abstract class, which is the case with built_value generated serializers.

Implementation

Iterable<Type> get types;