DroneStep class
- Annotations
-
- @freezed
Constructors
- DroneStep({@Default('') String name, @Default(0) int stepId, @Default(0) int exitCode, @Default(0) int id, @Default(0) int number, @Default(0) int started, @Default(0) int stopped, @Default(0) int version, @JsonKey(unknownEnumValue: DroneStatus.unknown) @Default(DroneStatus.unknown) DroneStatus status})
-
constfactory
-
DroneStep.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
copyWith
→ $DroneStepCopyWith<
DroneStep> -
no setterinherited
- exitCode → int
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
no setterinherited
- name → String
-
no setterinherited
- number → int
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- started → int
-
no setterinherited
- status → DroneStatus
-
no setterinherited
- stepId → int
-
no setterinherited
- stopped → 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