TaskExecution class

An object representing an executed Task. It can be used to terminate a task.

This interface is not intended to be implemented.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

TaskExecution({Task? task, void terminate()?})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
task Task

Available on TaskExecution, provided by the TaskExecution$Typings extension

The task that got started.
getter/setter pair
terminate ↔ void Function()

Available on TaskExecution, provided by the TaskExecution$Typings extension

getter/setter pair

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