toString method

  1. @override
String toString ()
override

returns a string representation of the object

Implementation

@override
String toString() {
  return "MPPointD, x: $x, y: $y";
}