isEmpty property

bool get isEmpty

Whether or not this BusIncident is empty.

Implementation

bool get isEmpty =>
    timeOfLastUpdate == emptyDateTime &&
    description.isEmpty &&
    incidentId.isEmpty &&
    incidentType.isEmpty &&
    affectedRoutes.isEmpty;