PlatformInfo constructor
PlatformInfo({
- required PlatformOs os,
- required PlatformArch arch,
- required 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.
required PlatformNaclArch naclArch,
}) : _wrapped = $js.PlatformInfo(
os: os.toJS,
arch: arch.toJS,
nacl_arch: naclArch.toJS,
);