SpotKey<T> constructor
Creates a registry key for service lookup.
type: The type being registered (typically T)name: Optional name for named instances (null for default instance)
Implementation
const SpotKey(this.type, [this.name]);