isZero property

bool get isZero
inherited

True if all components are zero.

Implementation

bool get isZero => x == 0 && y == 0 && z == 0;