find<S> abstract method

S find<S>({
  1. String? tag,
})

Finds an instance of type S in the current scope.

Uses optional tag to disambiguate registrations of the same type.

Throws if no matching registration is available.

Implementation

S find<S>({String? tag});