Public Access
style(transport_helper): remove redundant type declaration
This commit is contained in:
@@ -339,7 +339,7 @@ class Station {
|
||||
}
|
||||
|
||||
factory Station.fromJson(Map<String, dynamic> json) => Station(
|
||||
id: json["id"] as String? ?? json["extId"] as String,
|
||||
id: json["id"] ?? json["extId"] as String,
|
||||
name: json["name"],
|
||||
transportLines: json.containsKey("productAtStop")
|
||||
? json["productAtStop"].map(
|
||||
|
||||
Reference in New Issue
Block a user