isCollectionType property

bool get isCollectionType

Returns true if type is a collection (List, Iterable, Map or Set).

Implementation

bool get isCollectionType => typeInfo.isCollection;