f8de9bb52d
Change-Id: Ibb30489a1ba14e6a336099e820247c30d1882a68 Reviewed-on: https://dart-review.googlesource.com/33721 Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
14 lines
331 B
Dart
14 lines
331 B
Dart
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
class Point {
|
|
const Point(this.x, this.y);
|
|
final int x;
|
|
final int y;
|
|
}
|
|
|
|
main() {
|
|
Point p = Point(1, 2);
|
|
}
|