isEmpty property

bool isEmpty

Whether or not this Prediction is empty.

Implementation

bool get isEmpty =>
    directionNum == -1 &&
    direction.isEmpty &&
    minutesAway == -1 &&
    routeID.isEmpty &&
    tripID.isEmpty &&
    vehicleID.isEmpty;