diff options
author | Lisandro Pérez Meyer <lpmeyer@ics.com> | 2023-11-16 15:42:22 -0300 |
---|---|---|
committer | Lisandro Pérez Meyer <lpmeyer@ics.com> | 2023-11-16 15:47:49 -0300 |
commit | 6a00ac1f8613048b5c1f7ecdbd1adcbbcfdca5ed (patch) | |
tree | 8cdd919f84a50007ae0364cba37bb8bdaf19f5fc /lib/data/models | |
parent | 94b78fd369c318baf1a98d4f510d791ea9f17017 (diff) |
Disable value animation at start up % update FuelLevel path.
Remove some warnings.
Original from: Dominik Wawrzonek <dwawrzonek@ics.com>
Bug-AGL: SPEC-4971
Change-Id: I3693fa74f7995b4dcb016812403ed800702cb81c
Signed-off-by: Lisandro Pérez Meyer <lpmeyer@ics.com>
Diffstat (limited to 'lib/data/models')
-rw-r--r-- | lib/data/models/vehicle.dart | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/data/models/vehicle.dart b/lib/data/models/vehicle.dart index f27b750..adc6fc2 100644 --- a/lib/data/models/vehicle.dart +++ b/lib/data/models/vehicle.dart @@ -8,7 +8,7 @@ class Vehicle { final double insideTemperature; final double outsideTemperature; final int range; - final double fuelLevel; + final int fuelLevel; final int mediaVolume; final bool isChildLockActiveLeft; final bool isChildLockActiveRight; @@ -68,7 +68,7 @@ class Vehicle { insideTemperature = 25, outsideTemperature = 32.0, range = 21, - fuelLevel = 49.5, + fuelLevel = 49, mediaVolume = 50, isChildLockActiveLeft = false, isChildLockActiveRight = true, @@ -88,7 +88,7 @@ class Vehicle { double? insideTemperature, double? outsideTemperature, int? range, - double? fuelLevel, + int? fuelLevel, int? mediaVolume, bool? isChildLockActiveLeft, bool? isChildLockActiveRight, |