capitalize property

String get capitalize

Implementation

String get capitalize => isEmpty ? this : '${this[0].toUpperCase()}${substring(1)}';