create<T> function

void create<T>(
  1. T any()
)

Implementation

void create<T>(T Function() any) => _injector.register<T>(Factory.provider(any));