getOptional<T> abstract method

Optional<T> getOptional<T>({
  1. String? name,
  2. Params? params,
})

Gets an Optional to handle if the registration doesn't exist.

Implementation

Optional<T> getOptional<T>({String? name, Params? params});