WorkerBlock class
The WorkerBlock data structure represents a Worker who has been blocked. It has two elements: the WorkerId and the Reason for the block.
Constructors
- WorkerBlock({String? reason, String? workerId})
-
WorkerBlock.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- reason → String?
-
A message explaining the reason the Worker was blocked.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- workerId → String?
-
The ID of the Worker who accepted the HIT.
final
Methods
-
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