isEmpty property

bool isEmpty

Whether or not this AllDayParking object is empty.

Implementation

bool get isEmpty =>
    totalSpaces == -1 &&
    riderCost == -1.0 &&
    nonRiderCost == -1.0 &&
    saturdayRiderCost == -1.0 &&
    saturdayNonRiderCost == -1.0;