firstUpperCased property

String get firstUpperCased

Implementation

String get firstUpperCased => replaceFirst(
      characters.isEmpty ? '' : characters.first,
      characters.isEmpty ? '' : characters.first.toUpperCase(),
    );