1. class Point {
    2. num x;
    3. num y;
    4. void main() {
    5. var point = Point();
    6. assert(point.x == 4); // Use the getter method for x.
    7. assert(point.y == null); // Values default to null.
    8. }