getMegaBytes static method
It returns the size of the file in mega bytes
Implementation
static String getMegaBytes(dynamic data, {PrecisionValue? value}) {
return "${(_parseValue(data) / _getDividerValue(2)).toStringAsFixed(_getPrecisionValue(value ?? _precisionValue))} MB";
}