create<S> static method

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

Implementation

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