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) {
|
factory Segment.fromJson(Map<String, dynamic> json) {
|
||||||
Database database = DbHelper.db;
|
|
||||||
Segment tmp = Segment(
|
Segment tmp = Segment(
|
||||||
startPoint: Station.fromJson(json["Origin"]),
|
startPoint: Station.fromJson(json["Origin"]),
|
||||||
endPoint: Station.fromJson(json["Destination"]),
|
endPoint: Station.fromJson(json["Destination"]),
|
||||||
|
|||||||
Reference in New Issue
Block a user