data_util.dart 156 B

1234
  1. double convertBytesToGBs(final int bytes, {int precision = 2}) {
  2. return double.parse(
  3. (bytes / (1024 * 1024 * 1024)).toStringAsFixed(precision));
  4. }