nEvents method

String nEvents(
  1. int n
)

Implementation

String nEvents(int n) => isChinese ? '$n 事件' : '$n event${n > 1 ? 's' : ''}';