catch$ property

Future<Object> Function<TResult>([FutureOr<TResult> ([dynamic])?]) get catch$

Implementation

_i2.Future<_i2.Object> Function<TResult>(
    [_i4.FutureOr<TResult> Function([_i2.dynamic])?]) get catch$ => <TResult>(
        [_i4.FutureOr<TResult> Function([_i2.dynamic])? p0]) =>
    _i6.promiseToFuture(_i6.callMethod(
      _i6.getProperty(
        this,
        'catch',
      ),
      r'call',
      [
        this,
        p0 == null
            ? _i5.undefined
            : _i6.allowInterop((p0) => _i5.Promise.futureOr(() => p0(p0))),
      ],
    ));
set catch$ (Future<Object> value<TResult>([FutureOr<TResult> ([dynamic])?]))

Implementation

set catch$(
    _i2.Future<_i2.Object> Function<TResult>(
            [_i4.FutureOr<TResult> Function([_i2.dynamic])?])
        value) {
  _i6.setProperty(
    this,
    'catch',
    _i6.allowInterop(value),
  );
}