Instance Property
dependency
The dependency provided by the parent napkin.
let dependency: DependencyType
Discussion
This property holds the dependencies required by this builder to construct the napkin. Dependencies are typically defined by a protocol that the parent’s Component conforms to.
Use this dependency to:
Pass services to the Component initializer
Access shared instances from the parent scope
Provide required dependencies to the Interactable