lowerCaseFirst method

String? lowerCaseFirst()

Leave the first letter of the word in lower case, and the rest as it was.

Implementation

String? lowerCaseFirst() {
  if (this != null) {
    if (this!.length > 1) {
      return this!.substring(0, 1).toLowerCase() + this!.substring(1);
    } else
      return this!.toLowerCase();
  } else
    return this;
}