Worker constructor

Worker(
  1. Future<void> worker(
      ),
    1. String type
    )

    Implementation

    Worker(this.worker, this.type);