titleCase property
String
get
titleCase
get Title Case string
Implementation
String get titleCase => replaceAll(RegExp(' +'), ' ')
.split(" ")
.map((str) => str.toCapitalized())
.join(" ");
get Title Case string
String get titleCase => replaceAll(RegExp(' +'), ' ')
.split(" ")
.map((str) => str.toCapitalized())
.join(" ");