uncapitalizeNull function

String? uncapitalizeNull(
  1. String? source
)

Implementation

String? uncapitalizeNull(String? source) {
  if (source == null || source.isEmpty) {
    return source;
  } else {
    return source[0].toLowerCase() + source.substring(1);
  }
}