toString method

  1. @override
String toString()
override

Converts to a more readable format

Implementation

@override
String toString(){
  return '$x,$y,$z';
}