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(
|
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"],
|
name: json["name"],
|
||||||
transportLines: json.containsKey("productAtStop")
|
transportLines: json.containsKey("productAtStop")
|
||||||
? json["productAtStop"].map(
|
? json["productAtStop"].map(
|
||||||
|
|||||||
Reference in New Issue
Block a user