capitalize property

String? get capitalize

Implementation

String? get capitalize {
  if (this != null) {
    return "${this![0].toUpperCase()}${this!.substring(1).toLowerCase()}";
  } else {
    return null;
  }
}