nameCase method

String nameCase({
  1. String separator = ' ',
})

Implementation

String nameCase({String separator = ' '}) {
  return words().map((word) => word!.capitalize).toList().join(separator);
}