From 80da2087f61fe32516c5b100df244320977015c4 Mon Sep 17 00:00:00 2001 From: Kartal Kaan Bozdogan Date: Sun, 22 Sep 2024 12:28:08 +0200 Subject: [PATCH] computed_collections: Cleanup --- packages/computed_collections/lib/src/map_values_computed.dart | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/computed_collections/lib/src/map_values_computed.dart b/packages/computed_collections/lib/src/map_values_computed.dart index 4bf45c5..5920640 100644 --- a/packages/computed_collections/lib/src/map_values_computed.dart +++ b/packages/computed_collections/lib/src/map_values_computed.dart @@ -185,8 +185,6 @@ class MapValuesComputedComputedMap @override late final Computed> snapshot; - // TODO: We can be slightly smarter about this by not evaluating any computation as soon as - // one of them gains a value. Cannot think of an easy way to do this, though. @override Computed get isEmpty => isEmptyExpando[this] ??= $(() => snapshot.use.isEmpty);