capitalize property

String get capitalize

Implementation

String get capitalize {
  return isEmpty ? this : '${this[0].toUpperCase()}${substring(1)}';
}