DiskLayoutInfo class

disk layout infor of windows system, gives information like hdds,ssd attached to device

Inheritance

Constructors

DiskLayoutInfo({required int bytesPerSector, required String device, required String firmwareRevision, required String interfaceType, required String name, required int sectorsPerTrack, required String serialNum, required int size, required String smartStatus, required int totalCylinders, required int totalHeads, required int totalSectors, required int totalTracks, required int tracksPerCylinder, required String type})
example values::

Properties

bytesPerSector int
final
device String
final
firmwareRevision String
final
hashCode int
The hash code for this object.
no setterinherited
interfaceType String
final
name String
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sectorsPerTrack int
final
serialNum String
final
size int
final
smartStatus String
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
totalCylinders int
final
totalHeads int
final
totalSectors int
final
totalTracks int
final
tracksPerCylinder int
final
type String
final

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

Static Methods

fromJson(Map<String, dynamic> json) List<DiskLayoutInfo>
convert from json return list of DiskLayoutInfo