StorageUnitInfo class

Constructors

StorageUnitInfo({required String id, required String name, required StorageUnitType type, required double capacity})
StorageUnitInfo.fromJS(StorageUnitInfo _wrapped)

Properties

capacity ↔ double
The total amount of the storage space, in bytes.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String
The transient ID that uniquely identifies the storage device. This ID will be persistent within the same run of a single application. It will not be a persistent identifier between different runs of an application, or between different applications.
getter/setter pair
name ↔ String
The name of the storage unit.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
toJS → StorageUnitInfo
no setter
type ↔ StorageUnitType
The media type of the storage unit.
getter/setter pair

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