DVWorkerCapability class final
What a target's workers are, reported rather than hidden.
Constructors
- DVWorkerCapability({required DVWorkerMechanism mechanism, required bool zeroCopyNative, String? note})
-
const
- DVWorkerCapability.inline()
-
No threads: the work runs on the calling isolate.
const
- DVWorkerCapability.isolate()
-
Isolates on Android, iOS, desktop and embedded.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → String
-
The specification's label for the mechanism.
no setter
- mechanism → DVWorkerMechanism
-
final
- note → String?
-
Anything a caller designing around this should know.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Whether a buffer can be shared with a worker rather than copied to it.
final
- zeroCopyNative → bool
-
Whether off-heap native memory can be handed to a worker by address.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited