Line(this.a, this.b, this.c) { if (a == 0 && b == 0) { throw ArgumentError('Line: a and b cannot both be zero'); } }