Fork constructor

Fork(
  1. Function fn, {
  2. List? args,
  3. Map<Symbol, dynamic>? namedArgs,
  4. Function? Catch,
  5. Function? Finally,
  6. String? name,
  7. bool detached = false,
  8. Result? result,
})

Creates an instance of a Fork effect.

Implementation

Fork(this.fn,
    {this.args,
    this.namedArgs,
    this.Catch,
    this.Finally,
    this.name,
    this.detached = false,
    Result? result})
    : super(result: result);