Get your own website
main.dart:7:3: Error: 'Point' is already declared in this scope.
  Point() : x = 0, y = 0;
  ^^^^^
main.dart:5:3: Context: Previous declaration of 'Point'.
  Point(this.x, this.y);
  ^^^^^
main.dart:11:9: Error: Can't use 'Point' because it is declared more than once.
  print(Point().x);
        ^