isIterable property

bool isIterable

Returns true is this represents a constant expression with type exactly Iterable.

Note: Returns false if the static type represents List or Set.

Implementation

bool get isIterable => objectValue.type?.isDartCoreIterable ?? false;