isCollection property
bool
isCollection
Returns true
if the static type represents a
List
, Set
, Map
, or Iterable
.
Implementation
bool get isCollection => isList || isSet || isMap || isIterable;
Returns true
if the static type represents a
List
, Set
, Map
, or Iterable
.
bool get isCollection => isList || isSet || isMap || isIterable;