toggleAttribute property

bool Function(String, [bool?]) get toggleAttribute

Implementation

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

Implementation

set toggleAttribute(
    _i2.bool Function(
      _i2.String, [
      _i2.bool?,
    ]) value) {
  _i4.setProperty(
    this,
    'toggleAttribute',
    _i4.allowInterop(value),
  );
}