create<S> static method

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

Implementation

static Bind create<S>(InstanceBuilderCallback<S> builder,
    {String? tag, bool permanent = true}) {
  Get.create<S>(builder, tag: tag, permanent: permanent);
  return _FactoryBind<S>(
    tag: tag,
  );
}