getText method

String getText()

Returns the concatenated text content of all bands in the collection.

Each band's text is separated by a newline character.

Implementation

String getText() {
  String text = '';
  list.forEach((final Band band) {
    text += band.getText();
  });
  return text;
}