isUsernameGoogle method
Username (Google) regex
Minimum 6 characters, maximum 30 characters Contain letters (a-z), numbers (0-9), and periods (.). Must start and end with with letters or numbers. Can't have consecutive period (.).
Implementation
bool isUsernameGoogle() => RegVal.hasMatch(
this,
RegexPattern.usernameGoogle,
);