cast<E extends Object> method

  1. @override
BindContract<E> cast<E extends Object>()

Implementation

@override
BindContract<E> cast<E extends Object>() {
  return Bind<E>(
    factoryFunction as E Function(Injector i),
    export: export,
    isLazy: isLazy,
    isSingleton: isSingleton,
  );
}