ChatName constructor

ChatName(
  1. String val
)

Implementation

ChatName(String val) : super(val) {
  if (!_regExp.hasMatch(val)) {
    throw FormatException('Does not match validation RegExp: `$val`');
  }
}