isAlphanumeric property

bool get isAlphanumeric

Checks if the string is alphanumeric.

Implementation

bool get isAlphanumeric => RegExp(r'^[a-zA-Z0-9]+$').hasMatch(this);