read<T> method

  1. @override
T? read<T>(
  1. String key
)
override

Generate an item for a given key

Implementation

@override
T? read<T>(String key) {
  if (bindings.containsKey(key)) {
    return bindings[key](this);
  }
  return null;
}