DOMStringList constructor

DOMStringList({
  1. num? length,
  2. bool contains(
    1. String
    )?,
  3. String? item(
    1. num
    )?,
})

Implementation

factory DOMStringList({
  _i2.num? length,
  _i2.bool Function(_i2.String)? contains,
  _i2.String? Function(_i2.num)? item,
}) =>
    DOMStringList._(
      length: length,
      contains: contains == null ? null : _i4.allowInterop(contains),
      item: item == null
          ? null
          : _i4.allowInterop((p0) => () => item(p0) ?? _i6.undefined),
    );