progress method

double progress()

Implementation

double progress() {
  if (copiedFiles == null || totalCount == null) {
    return 0;
  }
  return copiedFiles! / totalCount! * 100;
}