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