Workflow class
Represents a GitHub Actions workflow.
Constructors
- Workflow.new({required int id, required String name, String? path, required String state})
- Creates a new Workflow instance.
-
Workflow.fromJson(Map<
String, dynamic> json) -
Creates a Workflow instance from a JSON map.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
The unique identifier of the workflow.
final
- name → String
-
The name of the workflow.
final
- path → String?
-
The path to the workflow file in the repository.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → String
-
The current state of the workflow.
final
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