Task class

Represents a distribution task in the configuration.

A Task is a collection of related jobs that can be executed together. Tasks provide a way to group build and publish operations logically, such as "android-release" or "ios-beta". Each task contains multiple jobs that define specific build and publish configurations.

Constructors

Task({required String name, required String key, required List<Job> jobs, List<String>? workflows, String? description, HookSet hooks = const HookSet()})
Creates a new Task instance.

Properties

description → String?
Optional description explaining the task's purpose
final
hashCode → int
The hash code for this object.
no setterinherited
hooks → HookSet
Custom commands surrounding this task.
final
jobs → List<Job>
The list of jobs that belong to this task
final
key → String
The unique identifier for the task
final
name → String
The display name of the task
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
workflows → List<String>?
Optional list of workflow names associated with this task
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts the Task instance to a JSON object.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited