capitalize property
String
get
capitalize
Capitalizes the first letter of each word in a string.
Implementation
String get capitalize {
return split(' ').map((str) => capitalizeFirst).join(' ');
}
Capitalizes the first letter of each word in a string.
String get capitalize {
return split(' ').map((str) => capitalizeFirst).join(' ');
}