isCollection property

bool isCollection

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

Implementation

bool get isCollection => _typeWrapper.isCollection;