apply method
callback executed by the type infrastructure
type the TypeDescriptor of the annotated class
method the MethodDescriptor of the annotated method
Implementation
@override
void apply(TypeDescriptor type, MethodDescriptor method) {
Providers.register(FunctionInstanceProvider(type.type, method, eager: eager, scope: scope, replace: replace));
}