create<S> static method

Bind create<S>(
  1. InstanceCreateBuilderCallback<S> builder, {
  2. String? tag,
  3. bool permanent = true,
})

Implementation

static Bind create<S>(InstanceCreateBuilderCallback<S> builder,
    {String? tag, bool permanent = true}) {
  return _FactoryBind<S>(
    create: builder,
    tag: tag,
    global: false,
  );
}