each method

Set<T> each(
  1. void func(
    1. T
    )
)

Call the given function on each item in the collection. @expose @param {function(T)} func This function must not modify the collection. @return {Set.

Implementation

_i3.Set<T> each(void Function(T) func) => _i4.callMethod(
      this,
      'each',
      [_i4.allowInterop(func)],
    );