getZettaBytes method

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

It returns the size of the file in bytes

FileSizeType.ZettaBytes

Implementation

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