feat(departures): add direction info to departures

This commit is contained in:
fbachus
2026-07-24 18:53:05 +02:00
parent b0216e6a49
commit b6b4f27376
3 changed files with 13 additions and 2 deletions
+5 -1
View File
@@ -222,7 +222,11 @@ class ApiHandler {
(x) => Departure.fromJson(
// needed because I'm too lazy to write a second mostly identical
// constructor and a wrapper
_expandDeparturesJson(httpPackageJson, x, ["ref", "Product"]),
_expandDeparturesJson(httpPackageJson, x, [
"ref",
"Product",
"Directions",
]),
),
)
.cast<Departure>();