migratedFrom property
String
migratedFrom
Clip v1 resource identifier.
Regex pattern ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$
Throws InvalidIdException if scriptId
is set to a string that does not
match the regex pattern.
Implementation
String get migratedFrom => _migratedFrom;
Implementation
set migratedFrom(String migratedFrom) {
if (Validators.isValidIdV1(migratedFrom)) {
_migratedFrom = migratedFrom;
} else {
throw InvalidIdException.withValue(migratedFrom);
}
}