parentNotNull property
P
get
parentNotNull
Implementation
P get parentNotNull {
var p = parent;
if (p == null) {
throw StateError("Null `parent` for: $this");
}
return p;
}
P get parentNotNull {
var p = parent;
if (p == null) {
throw StateError("Null `parent` for: $this");
}
return p;
}