isEmpty property

bool isEmpty

Whether or not this object is empty.

Implementation

bool get isEmpty => direction0.isEmpty && direction1.isEmpty && name.isEmpty;