getTeraBytes method

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

It returns the size of the file in bytes

FileSizeType.TeraBytes

Implementation

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