replaceNonAlphaNumericWithUnderscore method
Replaces all non-alphanumeric characters with underscores.
Implementation
String replaceNonAlphaNumericWithUnderscore() =>
validate().replaceAll(RegExp(r'[^a-zA-Z0-9]'), '_');
Replaces all non-alphanumeric characters with underscores.
String replaceNonAlphaNumericWithUnderscore() =>
validate().replaceAll(RegExp(r'[^a-zA-Z0-9]'), '_');