Last updated:
0 purchases
os cpu
Introduction #
This Dart package that provides information about the CPU.
The package is designed to work in all platforms, including browsers.
Getting started #
1.Add dependency #
In pubspec.yaml:
dependencies:
os_cpu: ^1.0.1
copied to clipboard
2.Use #
Use CpuType.get or
CpuType.getSync:
import 'package:os_cpu/os_cpu.dart';
Future<void> main() async {
final cpuType = await CpuType.get(); // OR CpuType.getSync()
print(cpuType);
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.