CpuType
enum
CPU type.
You can the CPU type of the current process with CpuType.get or
CpuType.getSync.
- Inheritance
-
- Available extensions
Values
-
aarch32
→ const CpuType
-
32-bit ARM architecture CPU.
-
aarch64
→ const CpuType
-
64-bit ARM architecture CPU.
-
x86
→ const CpuType
-
32-bit X86 architecture CPU.
-
amd64
→ const CpuType
-
64-bit AMD64 (also known as X64) architecture CPU.
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
index
→ int
-
A numeric identifier for the enumerated value.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
canRun(CpuType cpuType)
→ bool
-
Whether a CPU of this type can run a program of the argument type.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
get()
→ Future<CpuType?>
-
Determines CPU type of the current process.
-
getSync()
→ CpuType?
-
Determines CPU type of the current process synchronously.
Constants
-
values
→ const List<CpuType>
-
A constant List of the values in this enum, in order of their declaration.