isDot property

bool get isDot

Indicates whether the path consists of a single 'dot' (a line with zero velocity).

Implementation

bool get isDot => lines.length == 1 && lines[0].isDot;