uncapitalize method

String uncapitalize()

Returns a string with the first character in lower case.

Implementation

String uncapitalize() {
  if (this == null) {
    throw ArgumentError('string: $this');
  }
  if (this!.isEmpty) {
    return '';
  }
  return '${this![0].toLowerCase()}${this?.substring(1)}';
}