cancel property

Future<void> Function([dynamic])? get cancel

Implementation

_i2.Future<void> Function([_i2.dynamic])? get cancel =>
    ([_i2.dynamic p0]) => _i4.promiseToFuture(_i4.callMethod(
          _i4.getProperty(
            this,
            'cancel',
          ),
          r'call',
          [
            this,
            p0,
          ],
        ));
set cancel (Future<void> value([dynamic])?)

Implementation

set cancel(_i2.Future<void> Function([_i2.dynamic])? value) {
  _i4.setProperty(
    this,
    'cancel',
    value == null ? _i6.undefined : _i4.allowInterop(value),
  );
}