TrainPosition.empty constructor

const TrainPosition.empty()

Creates an empty TrainPosition object.

Implementation

const TrainPosition.empty()
    : numCars = -1,
      circuitId = '-1',
      destinationStationCode = null,
      directionNum = -1,
      lineCode = null,
      secondsAtLocation = -1,
      serviceType = ServiceType.unknown,
      trainId = '',
      trainNumber = '';