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();