Line data Source code
1 : /// A set of fake string utils. 2 : extension StringUtils on String { 3 : /// Returns a new string with the first letter capitalized. 4 5 : String get capitalized => '${this[0].toUpperCase()}${substring(1)}'; 5 : }