forEach method

  1. @override
Future<void> forEach(
  1. void action(
    1. String key,
    2. V value
    )
)
override

Apply action to execute every entries.

Implementation

@override
Future<void> forEach(void Function(String key, V value) action) async {
  await for (var DictionaryEntry(key: k, value: v) in entries) {
    action(k, v);
  }
}