SnapdChange class Null safety

Gives the state of an asynchronous operation.

Constructors

SnapdChange({String id = '', String kind = '', String summary = '', String status = '', bool ready = false, String? err, List<SnapdTask> tasks = const []})
const

Properties

err String?
final
hashCode int
The hash code for this object. [...]
read-only, inherited
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
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
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 time this change started. FIXME(robert-ancell): Implement final String spawnTime; The tasks of this change.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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