OCIPlatform class

Constructors

OCIPlatform({String? architecture, String? os, String? osPeriodVersion, List<String> osPeriodFeatures = const [], String? variant})
Returns a new OCIPlatform instance.

Properties

architecture String?
The CPU architecture, for example amd64 or ppc64.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
os String?
The operating system, for example linux or windows.
getter/setter pair
osPeriodFeatures List<String>
Optional field specifying an array of strings, each listing a required OS feature (for example on Windows win32k).
getter/setter pair
osPeriodVersion String?
Optional field specifying the operating system version, for example on Windows 10.0.19041.1165.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
variant String?
Optional field specifying a variant of the CPU, for example v7 to specify ARMv7 when architecture is arm.
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) OCIPlatform?
Returns a new OCIPlatform instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<OCIPlatform>
mapFromJson(dynamic json) Map<String, OCIPlatform>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<OCIPlatform>>

Constants

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