以下代码来自https://www.dartlang.org/guides/language/language-tour#classes。
class ImmutablePoint {
static final ImmutablePoint origin =
const ImmutablePoint(0, 0);
final num x, y;
const ImmutablePoint(this.x, this.y);
}
我想知道这段代码的含义吗?
static final ImmutablePoint origin =
const ImmutablePoint(0, 0);
可以在ImmutablePoint类中声明ImmutablePoint类型的“原始”变量吗?