getSync static method

CpuType? getSync()

Determines CPU type of the current process synchronously.

In browsers, attempts to determine the CPU using browser APIs.

Returns null if the type is unknown.

You should use CpuType.get if you do NOT need the result synchronously.

Implementation

static CpuType? getSync() => _cpuType;