capitalizeFirstCharacter method
Capitalizes the first letter of the string.
Example:
print("hello".capitalizeFirstCharacter()); // "Hello"
Implementation
String capitalizeFirstCharacter() =>
!isEmptyOrNull ? '${this![0].toUpperCase()}${this!.substring(1)}' : '';