cleanString property
String?
get
cleanString
Remove special characters from the String
Implementation
String? get cleanString {
if (isNotNullOrEmpty) {
return replaceAll(RegExp(r'[^\w\s]+'), '');
} else {
return null;
}
}