parent property Null safety

ContainerComponent? parent
inherited

Implementation

@override
ContainerComponent? get parent => _parent;
void parent=(ContainerComponent? value)
inherited

Implementation

set parent(ContainerComponent? value) {
  if (_parent == value) {
    return;
  }
  var old = _parent;
  _parent = value;
  parentId = value?.id ?? Core.missingId;
  parentChanged(old, value);
}