TaskDefinition class
A structure that defines a task kind in the system. The value must be JSON-stringifyable.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
- TaskDefinition.new({String? type})
-
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
- type → String
-
Available on TaskDefinition, provided by the TaskDefinition$Typings extension
The task definition describing the task provided by an extension. Usually a task provider defines more properties to identify a task. They need to be defined in the package.json of the extension under the 'taskDefinitions' extension point. The npm task definition for example looks like thisno setter
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
-
operator [](
String index) → dynamic -
Available on TaskDefinition, provided by the TaskDefinition$Typings extension
-
operator []=(
String index, dynamic value) → void -
Available on TaskDefinition, provided by the TaskDefinition$Typings extension