scriptId property
String
scriptId
Identifier to ScriptDefinition.
Regex pattern ^[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}$
Throws InvalidIdException if scriptId
is set to a string that does not
match the regex pattern.
Implementation
String get scriptId => _scriptId;
Implementation
set scriptId(String scriptId) {
if (Validators.isValidScriptId(scriptId)) {
_scriptId = scriptId;
} else {
throw InvalidIdException.withValue(scriptId);
}
}