isZero property

bool get isZero

Convenience getter to detect empty motion events.

Implementation

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