StopTimeUpdate.fromJson constructor

StopTimeUpdate.fromJson(
  1. Map<String, dynamic> json
)

Implementation

StopTimeUpdate.fromJson(Map<String, dynamic> json) {
  stopSequence = json['stopSequence'];
  arrivalTime = json['arrival']['time'];
  departureTime = json['departure']['time'];
  stopId = json['stopId'];
  scheduleRelationship = json['scheduleRelationship'];
}