isEmpty property

bool isEmpty

Whether or not this object is empty.

Implementation

bool get isEmpty =>
    direction.isEmpty &&
    shape.isEmpty &&
    stops.isEmpty &&
    tripHeadsign.isEmpty;