getYottaBytes method

  1. @override
String getYottaBytes(
  1. int data, {
  2. PrecisionValue? value,
})
override

It returns the size of the file in bytes

FileSizeType.YottaBytes

Implementation

@override
String getYottaBytes(int data, {PrecisionValue? value}) {
  num r = data / _getDividerValue(7);
  return "${r.toStringAsFixed(_getPrecisionValue(value ?? _precisionValue))} YB";
}