structuredClone property

T Function<T>(T, [StructuredSerializeOptions?]) get structuredClone

Implementation

T Function<T>(
  T, [
  _i3.StructuredSerializeOptions?,
]) get structuredClone => <T>(
      T p0, [
      _i3.StructuredSerializeOptions? p1,
    ]) =>
        _i4.callMethod(
          _i4.getProperty(
            this,
            'structuredClone',
          ),
          r'call',
          [
            this,
            p0,
            p1 ?? _i6.undefined,
          ],
        );
set structuredClone (T value<T>(T, [StructuredSerializeOptions?]))

Implementation

set structuredClone(
    T Function<T>(
      T, [
      _i3.StructuredSerializeOptions?,
    ]) value) {
  _i4.setProperty(
    this,
    'structuredClone',
    _i4.allowInterop(value),
  );
}