MountInfo constructor

MountInfo({
  1. required String path,
  2. required int freeSpace,
  3. required int totalSpace,
  4. required bool internalPath,
  5. required bool onlineCachePath,
})

Creates a mount info instance with storage details.

API users typically do not create instances directly.

Parameters

  • path: The path to the mount point.
  • freeSpace: The free space in bytes.
  • totalSpace: The total space in bytes.
  • internalPath: Whether this is an internal storage path.
  • onlineCachePath: Whether this path is used for online caching.

Implementation

MountInfo({
  required this.path,
  required this.freeSpace,
  required this.totalSpace,
  required this.internalPath,
  required this.onlineCachePath,
});