Public Access
feat(departures): add direction info to departures
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user