DroneStage class

Annotations
  • @freezed

Constructors

DroneStage({@Default('') String name, @Default('') String kind, @Default('') String type, @Default('') String machine, @Default('') String os, @Default('') String arch, @Default(0) int repoId, @Default(0) int buildId, @Default(0) int exitCode, @Default(0) int id, @Default(0) int number, @Default(0) int started, @Default(0) int stopped, @Default(0) int created, @Default(0) int updated, @Default(0) int version, @Default(false) bool onSuccess, @Default(false) bool onFailure, @Default(false) bool errignore, @JsonKey(unknownEnumValue: DroneStatus.unknown) @Default(DroneStatus.unknown) DroneStatus status, @Default([]) List<DroneStep> steps})
const
factory
DroneStage.fromJson(Map<String, dynamic> json)
factory

Properties

arch String
no setterinherited
buildId int
no setterinherited
copyWith → $DroneStageCopyWith<DroneStage>
no setterinherited
created int
no setterinherited
errignore bool
no setterinherited
exitCode int
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id int
no setterinherited
kind String
no setterinherited
machine String
no setterinherited
name String
no setterinherited
number int
no setterinherited
onFailure bool
no setterinherited
onSuccess bool
no setterinherited
os String
no setterinherited
repoId int
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
started int
no setterinherited
status DroneStatus
no setterinherited
steps List<DroneStep>
no setterinherited
stopped int
no setterinherited
type String
no setterinherited
updated int
no setterinherited
version int
no setterinherited

Methods

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

Operators

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