createInstance<T> static method
Implementation
static T createInstance<T>(Type type) {
return _factory[type]?.instanceCreator.call() as T;
}
static T createInstance<T>(Type type) {
return _factory[type]?.instanceCreator.call() as T;
}