rotationRate property

int rotationRate

The rotational rate of the drive in rpm. Set to -1 for rotating media but rotation rate isn't known and 0 for non-rotating media.

Implementation

int get rotationRate =>
    _object.getInt32Property(_driveInterfaceName, 'RotationRate') ?? 0;