PlatformInfo constructor
PlatformInfo({
- required PlatformOs os,
- required PlatformArch arch,
- PlatformNaclArch? naclArch,
Implementation
PlatformInfo({
/// The operating system Chrome is running on.
required PlatformOs os,
/// The machine's processor architecture.
required PlatformArch arch,
/// The native client architecture. This may be different from arch on some
/// platforms.
PlatformNaclArch? naclArch,
}) : _wrapped = $js.PlatformInfo(
os: os.toJS,
arch: arch.toJS,
nacl_arch: naclArch?.toJS,
);