exec property

URLPatternResult? Function(Object, [String?]) get exec

Implementation

_i3.URLPatternResult? Function(
  _i2.Object, [
  _i2.String?,
]) get exec => (
      _i2.Object p0, [
      _i2.String? p1,
    ]) =>
        _i4.callMethod(
          _i4.getProperty(
            this,
            'exec',
          ),
          r'call',
          [
            this,
            p0,
            p1 ?? _i6.undefined,
          ],
        );
set exec (URLPatternResult? value(Object, [String?]))

Implementation

set exec(
    _i3.URLPatternResult? Function(
      _i2.Object, [
      _i2.String?,
    ]) value) {
  _i4.setProperty(
    this,
    'exec',
    _i4.allowInterop((
      p0,
      p1,
    ) =>
        () =>
            value(
              p0,
              p1,
            ) ??
            _i6.undefined),
  );
}