Commit 419c886

derdilla <derdilla06@gmail.com>
2023-05-06 08:29:45
FIX: change potentially problematic type cast to conversion
1 parent e81601a
Changed files (1)
lib/model/blood_pressure.dart
@@ -95,7 +95,8 @@ class BloodPressureModel extends ChangeNotifier {
           e['systolic'] as int,
           e['diastolic'] as int,
           e['pulse'] as int,
-          e['notes'] as String));
+          e['notes'].toString())
+      );
     }
     return UnmodifiableListView(recordsInRange);
   }