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