TagLine constructor
TagLine(
- String _tag
Implementation
TagLine(String _tag) {
var exp = RegExp(r'^\d{4}$');
if (!exp.hasMatch(_tag)) {
throw Exception('Wrong format. A TagNine is a string of 4 digits.');
}
this._tag = _tag;
}