StorageOutOfSpaceException class

Thrown when there is insufficient disk space for a storage operation.

This exception indicates that the disk is full or there isn't enough space to complete the operation.

Inheritance
Annotations
  • @immutable

Constructors

StorageOutOfSpaceException(String message, {String? path, int? requiredBytes, int? availableBytes, Object? cause, StackTrace? stackTrace})
Creates a new StorageOutOfSpaceException.
const

Properties

availableBytes → int?
The available space in bytes.
final
cause → Object?
The underlying cause of this exception, if any.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
message → String
A human-readable description of the error.
finalinherited
path → String?
The path to the storage location (file or directory).
finalinherited
requiredBytes → int?
The required space in bytes.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stackTrace → StackTrace?
The stack trace at the point where the exception was thrown.
finalinherited

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