toString method

  1. @override
String toString()
override

Returns a string representation of the list.

Implementation

@override
String toString() {
  return toList().toString();
}