getZettaBytes static method

String getZettaBytes(
  1. dynamic data, {
  2. PrecisionValue? value,
})

It returns the size of the file in zetta bytes

FileSizeType.ZettaBytes

Implementation

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