utils/constants library
Functions
-
formatBytes(
int bytes, int decimals) → String - Converts bytes to readable size
-
getRandomString(
int length) → String -
returns a random string of the desired
length
-
printError(
dynamic text) → void - Print error
-
printInfo(
dynamic text) → void - Print info
-
printWarning(
dynamic text) → void - Print warning