types property

  1. @override
Iterable<Type> types
override

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

@override
Iterable<Type> get types => BuiltList(const [Duration]);