NodeListOf<TNode extends Node> constructor

NodeListOf<TNode extends Node>({
  1. dynamic item(
    1. num
    )?,
  2. void forEach(
    1. void (
      1. dynamic,
      2. num,
      3. NodeListOf
      ), [
    2. dynamic
    ])?,
  3. num? length,
})

Implementation

factory NodeListOf({
  _i2.dynamic Function(_i2.num)? item,
  void Function(
    void Function(
      _i2.dynamic,
      _i2.num,
      _i3.NodeListOf<_i2.dynamic>,
    ), [
    _i2.dynamic,
  ])? forEach,
  _i2.num? length,
}) =>
    NodeListOf._(
      item: item == null ? null : _i4.allowInterop(item),
      forEach: forEach == null ? null : _i4.allowInterop(forEach),
      length: length,
    );