# SpecContext class abstract interface

A context object in Jetleaf provided to suppliers and pod definitions for resolving dependencies at runtime.

Use this to fetch required pods or objects from within custom suppliers.

### Usage

    registry.registerPod(MyService.classType, customizer: (spec) {
      spec.suppliedBy((ctx) async {
        final repo = await ctx.pod(Repository.classType);
        return MyService(repo);
      });
    });

## Properties

hashCode → int
  The hash code for this object.
  no setter inherited
runtimeType → Type
  A representation of the runtime type of the object.
  no setter inherited

## Methods

get(Class<Object> requiredType, {List<ArgumentValue> arguments}) → Future<Object>
  Resolves an object of the given `requiredType` from the context.
noSuchMethod(Invocation invocation) → dynamic
  Invoked when a nonexistent method or property is accessed.
  inherited
pod<T>(Class<T> requiredType, {String? name, List<ArgumentValue> arguments}) → Future<T>
  Resolves a pod of type `T` from the context.
toString() → String
  A string representation of this object.
  inherited

## Operators

operator ==(Object other) → bool
  The equality operator.
  inherited