lowercaseFirstLetter property

String get lowercaseFirstLetter

Lowercases only the first letter of the string, preserving the rest of the case. Example: "FLUTTER AND DART" => "fLUTTER AND DART"

Implementation

String get lowercaseFirstLetter =>
    isBlank ? this : '${this[0].toLowerCase()}${substring(1)}';