WorkerData class

Message class for send to the Worker.

Constructors

WorkerData(int id, dynamic value)
Create an object by specifying its id and value
WorkerData.gen(dynamic value)
Create an object by automatically generating its id
factory

Properties

callback Function
getter/setter pair
done bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → dynamic
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