Dart (programming language): Difference between revisions

Content deleted Content added
Ahead-of-time module: it’s arguably not portable if platform-specific
Line 276:
// Example of operator overloading
Point operator +(Point other) => Point(x + other.x, y + other.y);
// When you instantiateinstantiating a class such as Point in Dart 2+, new is
// an optional word
}