For example, the blow will output Instance of 'Point'. is it possible reformat it to sth like Point(x: 0, y: 0)?
class Point {
final int x;
final int y;
Point(this.x, this.y);
}
void main() {
final zero = Point(0, 0);
print(zero); // Instance of 'Point'
}
In Python, there is __repr__ and __str__ . In Java, there is toString. In Swift/ObjC, there is description. What is the equivalent in dart?