From 8934e6abbcff72e6dbf281f238dd20a861198075 Mon Sep 17 00:00:00 2001 From: helderbetiol <37706737+helderbetiol@users.noreply.github.com> Date: Thu, 8 Aug 2024 09:53:38 +0200 Subject: [PATCH] fix(app) test --- APP/lib/models/project.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/APP/lib/models/project.dart b/APP/lib/models/project.dart index 963c3dc6..b3e5ac2d 100644 --- a/APP/lib/models/project.dart +++ b/APP/lib/models/project.dart @@ -62,7 +62,7 @@ class Project { List.from((map['objects'])), List.from((map['permissions'])), id: map['Id'].toString(), - isImpact: map['isImpact'] as bool, + isImpact: map['isImpact'] is bool ? map['isImpact'] as bool : false, ); }