describeKeyCount function

String describeKeyCount(
  1. int n
)

key / N keys, for a summary line that reads the same either way.

Implementation

String describeKeyCount(int n) => n == 1 ? '1 key' : '$n keys';