capitalize_first property
String?
get
capitalize_first
Implementation
String? get capitalize_first {
if (this == null) return null;
if (this!.isEmpty) return this;
return this!.substring(0, 1).toUpperCase() + this!.substring(1);
}