GithubActionsStepValue class abstract
Value for representing each step executed within a Github Action job.
- Available extensions
- Annotations
-
- @freezed
- @formValue
- @immutable
Constructors
- GithubActionsStepValue({int? number, String? name, String? status, String? conclusion, ModelTimestamp? startedAt, ModelTimestamp? completedAt})
-
Value for representing each step executed within a Github Action job.
constfactory
-
GithubActionsStepValue.fromJson(Map<
String, Object?> json) -
Convert from JSON.
factory
Properties
- completedAt → ModelTimestamp?
-
no setterinherited
- conclusion → String?
-
no setterinherited
-
copyWith
→ $GithubActionsStepValueCopyWith<
GithubActionsStepValue> -
Create a copy of GithubActionsStepValue
with the given fields replaced by the non-null parameter values.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String?
-
no setterinherited
- number → int?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startedAt → ModelTimestamp?
-
no setterinherited
- status → String?
-
no setterinherited
Methods
-
map<
TResult extends Object?> (TResult $default(_GithubActionsStepValue value)) → TResult -
Available on GithubActionsStepValue, provided by the GithubActionsStepValuePatterns extension
Aswitch-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_GithubActionsStepValue value)?) → TResult? -
Available on GithubActionsStepValue, provided by the GithubActionsStepValuePatterns extension
A variant ofmapthat fallback to returningnull. -
maybeMap<
TResult extends Object?> (TResult $default(_GithubActionsStepValue value)?, {required TResult orElse()}) → TResult -
Available on GithubActionsStepValue, provided by the GithubActionsStepValuePatterns extension
A variant ofmapthat fallback to returningorElse. -
maybeWhen<
TResult extends Object?> (TResult $default(int? number, String? name, String? status, String? conclusion, ModelTimestamp? startedAt, ModelTimestamp? completedAt)?, {required TResult orElse()}) → TResult -
Available on GithubActionsStepValue, provided by the GithubActionsStepValuePatterns extension
A variant ofwhenthat fallback to anorElsecallback. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this GithubActionsStepValue to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> (TResult $default(int? number, String? name, String? status, String? conclusion, ModelTimestamp? startedAt, ModelTimestamp? completedAt)) → TResult -
Available on GithubActionsStepValue, provided by the GithubActionsStepValuePatterns extension
Aswitch-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(int? number, String? name, String? status, String? conclusion, ModelTimestamp? startedAt, ModelTimestamp? completedAt)?) → TResult? -
Available on GithubActionsStepValue, provided by the GithubActionsStepValuePatterns extension
A variant ofwhenthat fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- form → const _$GithubActionsStepValueFormQuery
- Query for form value.