SnapdChange class
Gives the state of an asynchronous operation.
- Annotations
-
- @immutable
- @JsonSerializable()
Constructors
-
SnapdChange({String id = '', String kind = '', String summary = '', String status = '', bool ready = false, required DateTime spawnTime, DateTime? readyTime, String? err, List<
SnapdTask> tasks = const [], List<String> snapNames = const []}) -
const
-
SnapdChange.fromJson(Map<
String, dynamic> json) -
factory
Properties
- err → String?
-
Error that occurred doing this change.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
The ID of this change.
final
- kind → String
-
The kind of change, e.g. 'install-snap'.
final
- ready → bool
-
True when this change is complete.
final
- readyTime → DateTime?
-
The time this change completed.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
snapNames
→ List<
String> -
The snaps that are associated with this change.
final
- spawnTime → DateTime
-
The time this change started.
final
- status → String
-
Status of the change, e.g. 'Doing'.
final
- summary → String
-
Short description of the change. e.g. 'Install snap "moon-buggy"'
final
-
tasks
→ List<
SnapdTask> -
The tasks of this change.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override