isEmpty property

bool get isEmpty

Whether or not this NextTrain instance is empty.

Implementation

bool get isEmpty =>
    locationCode.isEmpty &&
    locationName.isEmpty &&
    numCars == null &&
    destination.isEmpty &&
    destinationCode == null &&
    destinationName == null &&
    group == -1 &&
    line.isEmpty &&
    minutesAway == null &&
    specialStatus == null;