words method

String words(
  1. int count
)

count in words: "1 vet question", "3 vet questions".

Implementation

String words(int count) => '$count ${count == 1 ? singular : plural}';