DownloadProgressExtension extension
Extension for DownloadProgress that provides additional methods for converting the download progress into different units String. For example, it can convert the download progress into kilobytes, megabytes, or gigabytes.
Methods
-
getProgressPercent(
{int fractionDigits = 2}) → String -
Available on DownloadProgress, provided by the DownloadProgressExtension extension
Converts the download progress to a string representing the percentage. -
getReceivedGB(
{int fractionDigits = 2}) → String -
Available on DownloadProgress, provided by the DownloadProgressExtension extension
Converts the download progress to a string representing the gigabytes. -
getReceivedKB(
{int fractionDigits = 2}) → String -
Available on DownloadProgress, provided by the DownloadProgressExtension extension
Converts the download progress to a string representing the kilobytes. -
getReceivedMB(
{int fractionDigits = 2}) → String -
Available on DownloadProgress, provided by the DownloadProgressExtension extension
Converts the download progress to a string representing the megabytes. -
getTotalGB(
{int fractionDigits = 2}) → String -
Available on DownloadProgress, provided by the DownloadProgressExtension extension
-
getTotalKB(
{int fractionDigits = 2}) → String -
Available on DownloadProgress, provided by the DownloadProgressExtension extension
-
getTotalMB(
{int fractionDigits = 2}) → String -
Available on DownloadProgress, provided by the DownloadProgressExtension extension