firstToUpperCase method
Implementation
String firstToUpperCase() {
if (isEmpty) return this;
var split = this.split('');
split[0] = split[0].toUpperCase();
return split.join();
}
String firstToUpperCase() {
if (isEmpty) return this;
var split = this.split('');
split[0] = split[0].toUpperCase();
return split.join();
}