Disk class

Constructors

Disk({required int blockSize, required String busType, String? busVersion, required String description, required String device, String? devicePath, String? error, bool? card, required bool readOnly, required bool removable, bool? scsi, required bool system, bool? uas, bool? usb, bool? virtual, required int logicalBlockSize, required List<Mountpoint> mountpoints, required String raw, int? size, PartitionTableType? partitionTableType})
const
Disk.fromLsblk(Map<String, dynamic> device)
factory
Disk.fromMap(Map<String, dynamic> map)
factory

Properties

blockSize → int
final
busType → String
final
busVersion → String?
final
card → bool?
final
description → String
final
device → String
final
devicePath → String?
final
error → String?
final
hashCode → int
The hash code for this object.
no setterinherited
logicalBlockSize → int
final
mountpoints → List<Mountpoint>
final
partitionTableType → PartitionTableType?
final
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
raw → String
final
readOnly → bool
final
removable → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scsi → bool?
final
size → int?
final
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
system → bool
final
uas → bool?
final
usb → bool?
final
virtual → bool?
final

Methods

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

Operators

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