Skip to content

Instantly share code, notes, and snippets.

@MarcinusX
Created October 2, 2019 19:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarcinusX/cdf5b7e59112d48f5549880d5b76d20f to your computer and use it in GitHub Desktop.
Save MarcinusX/cdf5b7e59112d48f5549880d5b76d20f to your computer and use it in GitHub Desktop.
class Point {
int x, y;
}
//Można tak:
Point point = Point();
point.x = 1;
point.y = 2;
//Ale można też tak:
Point point = Point()
..x = 1
..y = 2;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment