toString method

  1. @override
String toString()
override
Generates a String representation of all the items in the list.

Implementation

@override
String toString() {
  return this._items.join(",");
}