SystemVersion class

Constructors

SystemVersion({SystemVersionPlatform? platform, List<SystemVersionComponentsInner> components = const [], String? version, String? apiVersion, String? minAPIVersion, String? gitCommit, String? goVersion, String? os, String? arch, String? kernelVersion, bool? experimental, String? buildTime})
Returns a new SystemVersion instance.

Properties

apiVersion String?
The default (and highest) API version that is supported by the daemon
getter/setter pair
arch String?
The architecture that the daemon is running on
getter/setter pair
buildTime String?
The date and time that the daemon was compiled.
getter/setter pair
components List<SystemVersionComponentsInner>
Information about system components
getter/setter pair
experimental bool?
Indicates if the daemon is started with experimental features enabled. This field is omitted when empty / false.
getter/setter pair
gitCommit String?
The Git commit of the source code that was used to build the daemon
getter/setter pair
goVersion String?
The version Go used to compile the daemon, and the version of the Go runtime in use.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
kernelVersion String?
The kernel version (uname -r) that the daemon is running on. This field is omitted when empty.
getter/setter pair
minAPIVersion String?
The minimum API version that is supported by the daemon
getter/setter pair
os String?
The operating system that the daemon is running on ("linux" or "windows")
getter/setter pair
platform SystemVersionPlatform?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String?
The version of the daemon
getter/setter pair

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

Static Methods

fromJson(dynamic value) SystemVersion?
Returns a new SystemVersion instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<SystemVersion>
mapFromJson(dynamic json) Map<String, SystemVersion>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<SystemVersion>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.