forEachAsync method

Future forEachAsync(
  1. FutureOr onEach(
    1. T item
    )
)

Implementation

Future forEachAsync(FutureOr onEach(T item)) async {
  for (final item in this) {
    await onEach(item);
  }
}