iterable property

Iterable<String> get iterable

Returns a Iterable containing all the characters of the string.

If this is empty, its returns a empty Iterable

print('Activity world'.iterable); // ['H','e','l','l','o',]
print('Activity.iterable); // ['A', ' ', 'B']

Implementation

Iterable<String> get iterable =>
    runes.map((int rune) => String.fromCharCode(rune));