isEmpty property
bool
get
isEmpty
Whether or not this TrainPosition object is empty.
Implementation
bool get isEmpty =>
numCars == -1 &&
circuitId == '-1' &&
destinationStationCode == null &&
directionNum == -1 &&
lineCode == null &&
secondsAtLocation == -1 &&
identical(serviceType, ServiceType.unknown) &&
trainId.isEmpty &&
trainNumber.isEmpty;