Cache constructor

Cache({
  1. required double size,
  2. required double liveSize,
})

Implementation

Cache({
  /// The size of the cache, in bytes.
  required double size,

  /// The part of the cache that is utilized, in bytes.
  required double liveSize,
}) : _wrapped = $js.Cache(
        size: size,
        liveSize: liveSize,
      );