StorageAvailability class

Storage availability check result

Constructors

StorageAvailability({required bool isAvailable, required int requiredSpace, required int availableSpace, required bool hasWarning, String? recommendation})
const

Properties

availableSpace int
Available space in bytes
final
hashCode int
The hash code for this object.
no setterinherited
hasWarning bool
Whether there's a warning (e.g., low space)
final
isAvailable bool
Whether storage is available for the requested operation
final
recommendation String?
Recommendation message if any
final
requiredSpace int
Required space in bytes
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited