any method

  1. @override
Future<bool> any(
  1. bool condition(
    1. String key,
    2. V value
    )
)
override

Find at least one entries satisified condition.

Implementation

@override
Future<bool> any(bool Function(String key, V value) condition) {
  return entries.any((element) => condition(element.key, element.value));
}