toPluralize method

String toPluralize()

Implementation

String toPluralize() {
  if (isEmpty) return "";
  if (this[length - 1].toLowerCase() == "s") return this;
  return "${this}s";
}