toString method

  1. @override
String toString()
override

Gets a string representation of the object.

Returns a string representation of the object.

Implementation

@override
String toString() {
  return '[' + getName() + ']';
}