SymbolConstructor constructor

SymbolConstructor({
  1. Symbol? iterator,
  2. Symbol? hasInstance,
  3. Symbol? isConcatSpreadable,
  4. Symbol? match,
  5. Symbol? replace,
  6. Symbol? search,
  7. Symbol? species,
  8. Symbol? split,
  9. Symbol? toPrimitive,
  10. Symbol? toStringTag,
  11. Symbol? unscopables,
  12. Symbol? asyncIterator,
  13. Symbol? matchAll,
  14. Symbol for$(
    1. String
    )?,
  15. String? keyFor(
    1. Symbol
    )?,
})

Implementation

factory SymbolConstructor({
  _i2.Symbol? iterator,
  _i2.Symbol? hasInstance,
  _i2.Symbol? isConcatSpreadable,
  _i2.Symbol? match,
  _i2.Symbol? replace,
  _i2.Symbol? search,
  _i2.Symbol? species,
  _i2.Symbol? split,
  _i2.Symbol? toPrimitive,
  _i2.Symbol? toStringTag,
  _i2.Symbol? unscopables,
  _i2.Symbol? asyncIterator,
  _i2.Symbol? matchAll,
  _i2.Symbol Function(_i2.String)? for$,
  _i2.String? Function(_i2.Symbol)? keyFor,
}) =>
    SymbolConstructor._(
      iterator: iterator ?? _i4.undefined,
      hasInstance: hasInstance ?? _i4.undefined,
      isConcatSpreadable: isConcatSpreadable ?? _i4.undefined,
      match: match ?? _i4.undefined,
      replace: replace ?? _i4.undefined,
      search: search ?? _i4.undefined,
      species: species ?? _i4.undefined,
      split: split ?? _i4.undefined,
      toPrimitive: toPrimitive ?? _i4.undefined,
      toStringTag: toStringTag ?? _i4.undefined,
      unscopables: unscopables ?? _i4.undefined,
      asyncIterator: asyncIterator ?? _i4.undefined,
      matchAll: matchAll ?? _i4.undefined,
      for$: for$ == null ? null : _i3.allowInterop(for$),
      keyFor: keyFor == null
          ? null
          : _i3.allowInterop((p0) => () => keyFor(p0) ?? _i4.undefined),
    );