apply method

  1. @override
void apply(
  1. TypeDescriptor type,
  2. MethodDescriptor method
)
override

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));
}