PlatformInfo constructor

PlatformInfo({
  1. required PlatformOs os,
  2. required PlatformArch arch,
  3. 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,
      );