From 5ce11ef94588838664f8597d00657f12f940a50a Mon Sep 17 00:00:00 2001 From: fbachus Date: Thu, 2 Jul 2026 01:29:40 +0200 Subject: [PATCH] style(transport_helper): fix capitalisation of Line.lineId --- lib/transport_helper.dart | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/transport_helper.dart b/lib/transport_helper.dart index 9c545e2..43113ff 100644 --- a/lib/transport_helper.dart +++ b/lib/transport_helper.dart @@ -282,7 +282,7 @@ class Vehicle { Map toMap() { return { "id": id, - "line": line.LineId, + "line": line.lineId, }; } @@ -313,7 +313,7 @@ class Vehicle { class Line { static const String tableName = "line"; - String LineId; + String lineId; Station? destination; Station? direction; VehicleType mode; @@ -322,7 +322,7 @@ class Line { Color? bgColor; Line({ - required this.LineId, + required this.lineId, required this.name, required this.mode, this.fgColor, @@ -331,7 +331,7 @@ class Line { Map toMap() { return { - "lineid": LineId, + "lineid": lineId, "destination": destination, "direction": direction, "mode": mode, @@ -350,7 +350,7 @@ class Line { ]; factory Line.fromJson(Map json) => Line( - LineId: json["lineId"], + lineId: json["lineId"], name: json["name"], mode: _vehicleTypeAsCatCode[int.parse(json["catCode"])], fgColor: