A task specification contains the necessary information to create a task.

See Zone.createTask for how a specification is used to create a task.

Task specifications should be public and it should be possible to create new instances as a user. That is, custom zones should be able to replace an existing specification with a modified one.

Experimental. This class might disappear without warning.

Implemented by

Constructors

TaskSpecification()

Properties

hashCode int

Get a hash code for this object.

read-only, inherited
isOneShot bool

Whether the scheduled task triggers at most once.

read-only
name String

Description of the task.

read-only
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() String

Returns a string representation of this object.

inherited