titlize method

String titlize()

Implementation

String titlize() {
  final list = toLowerCase().split('');
  list[0] = list[0].toUpperCase();
  return list.join();
}