get<S> static method

Bind get<S>(
  1. S dependency, {
  2. String? tag,
  3. bool permanent = false,
})

Implementation

static Bind get<S>(
  S dependency, {
  String? tag,
  bool permanent = false,
}) {
  June.put<S>(() => dependency, tag: tag, permanent: permanent);
  return _FactoryBind<S>(
    autoRemove: permanent,
    assignId: true,
    tag: tag,
  );
}