capitalizeFirst property

String get capitalizeFirst

Implementation

String get capitalizeFirst => replaceRange(0, 1, this[0].toUpperCase());