isValidUsername method

bool isValidUsername({
  1. bool withDot = true,
  2. RegExp? pattern,
})

Implementation

bool isValidUsername({bool withDot = true, RegExp? pattern}) {
  return Validator.isValidUsername(this, withDot: withDot, pattern: pattern);
}