Command constructor

Command({
  1. Command? parent,
})

Implementation

Command({this.parent}) {
  if ( parent != null)
    parent!.children.add(this);
}