AbstractWorker constructor

AbstractWorker({
  1. dynamic onerror(
    1. ErrorEvent
    )?,
})

Implementation

factory AbstractWorker({_i2.dynamic Function(_i3.ErrorEvent)? onerror}) =>
    AbstractWorker._(
        onerror: onerror == null ? _i6.undefined : _i4.allowInterop(onerror));