diff --git a/lib/src/util/map.dart b/lib/src/util/map.dart index 46982a79c..248e08968 100644 --- a/lib/src/util/map.dart +++ b/lib/src/util/map.dart @@ -21,5 +21,5 @@ extension MapExtensions on Map { /// Returns an option that contains the value at [key] if one exists and null /// otherwise. - Option getOption(K key) => containsKey(key) ? (this[key]!,) : null; + Option getOption(K key) => containsKey(key) ? (this[key],) : null; }