statusDescription property

String get statusDescription

Implementation

String get statusDescription {
  switch (status) {
    case DownloaderStatus.downloading:
      return "downloading";
    case DownloaderStatus.paused:
      return "paused";
    case DownloaderStatus.failed:
      return "failed";
    case DownloaderStatus.succeeded:
      return "succeeded";
    default:
      return "unstarted";
  }
}