name property
Sets the sequence name to newName
.
Implementation
set name(String newName) {
if (newName.length < 2 || 25 < newName.length) {
Errors.invalidSeqLen(param: 'Name', min: 2, max: 25);
}
this._name = newName;
}
Sets the sequence name to newName
.
set name(String newName) {
if (newName.length < 2 || 25 < newName.length) {
Errors.invalidSeqLen(param: 'Name', min: 2, max: 25);
}
this._name = newName;
}