nonLetterToSpace function

String nonLetterToSpace(
  1. String? str
)

Transform str such that each non letter character is replaced by a space character.

Implementation

String nonLetterToSpace(String? str) => identical(str, null)
    ? 'nonLetterToSpace'
    : str.replaceAll(_matchNonAlphaNumeric, ' ');