isNotCollection property

bool isNotCollection

Returns true if the static type does not represent List, Set, Map, or Iterable.

Implementation

bool get isNotCollection => !isList && !isSet && !isMap && !isIterable;