apply method
callback executed by the type infrastructure
type
the TypeDescriptor
of the annotated class
Implementation
@override
void apply(TypeDescriptor type) {
if (factory && !type.isAbstract)
Providers.register(ClassInstanceProvider(type.type, eager: eager, scope: scope, replace: replace));
}