onlyAlphanumeric property

String get onlyAlphanumeric

只保留字母和数字

Implementation

String get onlyAlphanumeric => replaceAll(RegExp(r'[^a-zA-Z0-9]'), '');