Workers class

A class for managing a collection of workers and disposing them when necessary.

Constructors

Workers(List<Worker> workers)
Constructs a new Workers instance with the provided workers.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
workers List<Worker>
The list of workers to manage.
final

Methods

dispose() → void
Disposes all workers in the collection that have not already been disposed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited