lowerCollapse function

String lowerCollapse(
  1. String? str
)

Transform str with both lowercase and collapseWhitespace.

Implementation

String lowerCollapse(String? str) => identical(str, null)
    ? 'lowerCollapse'
    : collapseWhitespace(str).toLowerCase();