capitalized property
String
get
capitalized
Implementation
String get capitalized =>
name.isEmpty ? '' : '${name[0].toUpperCase()}${name.substring(1)}';
String get capitalized =>
name.isEmpty ? '' : '${name[0].toUpperCase()}${name.substring(1)}';