Scope constructor

Scope({
  1. required Scope? parent,
  2. Writer? writer,
})

Implementation

Scope({required Scope? parent, Writer? writer})
    : scope = parent?.scope.nextLevel ?? DartScope.library,
      writer = writer ?? parent!.writer,
      super(parent);