SnapdSystemInfoResponse class
Response received when getting system information.
- Annotations
-
- @immutable
- @JsonSerializable()
Constructors
- SnapdSystemInfoResponse({String architecture = '', String buildId = '', SnapConfinement confinement = SnapConfinement.unknown, String kernelVersion = '', bool managed = false, bool onClassic = false, required SnapdSystemRefreshInfo refresh, String series = '', String systemMode = '', String version = ''})
-
const
-
SnapdSystemInfoResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- architecture → String
-
The architecture snapd is running on.
final
- buildId → String
-
The build of snapd.
final
- confinement → SnapConfinement
-
The confinement level that is supported.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kernelVersion → String
-
The version of the Linux kernel this is running on.
final
- managed → bool
-
final
- onClassic → bool
-
True if running on a classic system.
final
- refresh → SnapdSystemRefreshInfo
-
Contains information about refreshes.
final
- refreshLast → DateTime?
-
no setter
- refreshNext → DateTime
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- series → String
-
The core series in use.
final
- systemMode → String
-
final
- version → String
-
The version of snapd.
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.
inherited