isEmpty property

bool get isEmpty

Whether or not this object is empty.

Implementation

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