Some comments never hurt anyone

This commit is contained in:
2023-12-30 23:05:06 +02:00
parent 23218c22d7
commit 7a0bd79e37
7 changed files with 53 additions and 12 deletions

View File

@@ -13,9 +13,16 @@ class Arrival {
factory Arrival.fromJson(Map<String, dynamic> json) {
return Arrival(
// Arrival Time
timeOfDay: json['time_of_day'] as String,
// Day 1 -> 7 !! Starting from Monday !!
weekDay: json['week_day'] as int,
// Line 1 or 2
tramLine: json['tram_line'] as int,
// True -> Raml, False -> Victoria
direction: json['direction'] as bool,
);
}