isEmpty property

bool get isEmpty

Whether or not this RailIncident object is empty.

Implementation

bool get isEmpty =>
    timeOfLastUpdate == emptyDateTime &&
    description.isEmpty &&
    incidentId.isEmpty &&
    incidentType.isEmpty &&
    affectedLines.isEmpty &&
    !_affectedLinesWasString;