Public Access
cleanup(transport_helper): remove unused database ref
This commit is contained in:
@@ -262,7 +262,6 @@ class Segment {
|
||||
}
|
||||
|
||||
factory Segment.fromJson(Map<String, dynamic> json) {
|
||||
Database database = DbHelper.db;
|
||||
Segment tmp = Segment(
|
||||
startPoint: Station.fromJson(json["Origin"]),
|
||||
endPoint: Station.fromJson(json["Destination"]),
|
||||
@@ -767,4 +766,4 @@ enum VehicleType {
|
||||
subway,
|
||||
regionalTrain,
|
||||
PLACEHOLDER,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user