Job class
Represents a job in the configuration.
A Job
consists of a name, an optional key, an optional description,
a platform, a mode (build or publish), a package name, and associated arguments.
Constructors
-
Job.new({required String name, String? key, required String? description, required String packageName, Map<
String, dynamic> ? environments, BuilderJob? builder, PublisherJob? publisher}) -
Creates a new
Job
instance. -
Job.fromJson(Map<
String, dynamic> json) -
factory
Properties
- builder → BuilderJob?
-
final
- description → String?
-
The description of the job (optional).
final
-
environments
→ Map<
String, dynamic> ? -
The environment variables for the job (optional).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String?
-
The unique key of the job (optional).
final
- name → String
-
The name of the job.
final
- packageName → String
-
The package name associated with the job.
final
- parent ↔ Task
-
The parent task of the job.
getter/setter pair
- publisher → PublisherJob?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts the
Job
instance to a JSON object. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited