sourceOr
Retrieves a dependency from the canvas using reified type parameters, returning null if not found.
Return
The dependency instance or null if not found
Parameters
qualifier
Optional qualifier to distinguish between multiple instances of the same type
Type Parameters
T
The type of the dependency to retrieve
Retrieves a dependency from the canvas using a CanvasKey, returning null if not found.
Return
The dependency instance or null if not found
Parameters
key
The canvas key identifying the dependency
Type Parameters
T
The type of the dependency to retrieve