injectFromSelfOptional abstract method
Injects and returns an object representing token
from this injector.
Unlike inject
, this only checks this itself, not the parent or the
ancestry of injectors. This is equivalent to constructor parameters
annotated with @Self
.
Implementation
@protected
Object? injectFromSelfOptional(
Object token, [
Object? orElse = throwIfNotFound,
]);