class Test {
double x;
double y;
Test(double x, double y) : x = x + 1000, y = y + 1000 {
print('this.x: ${this.x}');
print('x: $x');
print('this.y: ${this.y}');
print('y: $y');
}
}
void main() {
Test(23, 98);
}
/*
run:
this.x: 1023.0
x: 23.0
this.y: 1098.0
y: 98.0
*/