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