setReadonly method
Implementation
void setReadonly(bool readonly) {
if (this.readonly && !readonly) {
throw StateError("can't alter readonly IntervalSet");
}
this.readonly = readonly;
}
void setReadonly(bool readonly) {
if (this.readonly && !readonly) {
throw StateError("can't alter readonly IntervalSet");
}
this.readonly = readonly;
}