lowerFirst function

String lowerFirst(
  1. String string
)

Converts the first character of string to lower case.

Implementation

String lowerFirst(String string) =>
    string.isNotEmpty ? string[0].toLowerCase() + string.substring(1) : '';