toString method
String toString(Returns a string representation of (some of) the elements of this
.
Elements are represented by their own toString
results.
The default representation always contains the first three elements. If there are less than a hundred elements in the iterable, it also contains the last two elements.
If the resulting string isn't above 80 characters, more elements are included from the start of the iterable.
The conversion may omit calling toString
on some elements if they are known to not occur in the output, and it may stop iterating after a hundred elements.
Source
String toString() => IterableBase.iterableToShortString(this, '(', ')');
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-core/Iterable/toString.html