StopTimeUpdate.fromPBEntity constructor

StopTimeUpdate.fromPBEntity(
  1. TripUpdate_StopTimeUpdate entity
)

Implementation

StopTimeUpdate.fromPBEntity(TripUpdate_StopTimeUpdate entity) {
  stopSequence = entity.stopSequence;
  arrivalTime = entity.arrival.time;
  departureTime = entity.departure.time;
  stopId = entity.stopId;
  scheduleRelationship = entity.scheduleRelationship;
}