MemoryInfo constructor

MemoryInfo({
  1. required double capacity,
  2. required double availableCapacity,
})

Implementation

MemoryInfo({
  /// The total amount of physical memory capacity, in bytes.
  required double capacity,

  /// The amount of available capacity, in bytes.
  required double availableCapacity,
}) : _wrapped = $js.MemoryInfo(
        capacity: capacity,
        availableCapacity: availableCapacity,
      );