tryFormatFileSizeToStr static method
Implementation
static String? tryFormatFileSizeToStr(
int? fileSize, {
int position = 2,
int scale = 1024,
int specified = -1,
}) {
if (null == fileSize) {
return null;
}
return formatFileSizeToStr(
fileSize,
position: position,
scale: scale,
specified: specified,
);
}