listType property

TypeReflection? listType

The TypeReflection of the List elements type.

Implementation

TypeReflection? get listType => isIterableType ? arguments.firstOrNull : null;