resolver property

T? Function(BuildContext context)? resolver
final

Resolves the dependency from the context.

Returns null when the dependency is not registered.

Implementation

final T? Function(BuildContext context)? resolver;