From 5761fb77cbe385b2baa75016d6a0e19bd6818286 Mon Sep 17 00:00:00 2001 From: Jayesh Nirve Date: Sat, 14 Aug 2021 17:24:37 +0530 Subject: [PATCH] remove extra if null --- lib/src/room.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/room.dart b/lib/src/room.dart index 366b1060..7277ec6b 100644 --- a/lib/src/room.dart +++ b/lib/src/room.dart @@ -488,7 +488,7 @@ class Room { static Tag _tryTagFromJson(Object o) { if (o is Map) { return Tag( - order: o?.tryGet('order')?.toDouble(), + order: o.tryGet('order')?.toDouble(), additionalProperties: Map.from(o)..remove('order')); } return Tag();