getFileCountMessage method

String getFileCountMessage(
  1. int count
)

Get file count message

Implementation

String getFileCountMessage(int count) {
  if (count == 0) return noFileSelected;
  if (count == 1) return '1 $fileSelected';
  return '$count $filesSelected';
}