stripNonAlphaNumeric method

String stripNonAlphaNumeric()

Strips out the non-alphanumeric characters from the string.

Implementation

String stripNonAlphaNumeric() =>
    validate().replaceAll(RegExp(r'[^a-zA-Z0-9]'), '');