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