Метод addSlice (абстрактный)
void addSlice(Добавляет следующий chunk в this.
Добавляет подстроку, определяемую значениями start и end (не включая end) в this.
Если isLast равно true , закрывает this.
Исходный код
void addSlice(String str, int start, int end, bool isLast);
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-convert/StringConversionSinkMixin/addSlice.html