result property

dynamic result

Retrieves the result associated to this WorkerResponse. If the WorkerResponse contains an error, an the error exception is thrown.

Implementation

dynamic get result {
  final err = error;
  if (err != null) {
    throw err;
  } else {
    return this[_$result];
  }
}