apply method

  1. @override
void apply(
  1. TypeDescriptor type
)
override

callback executed by the type infrastructure type the TypeDescriptor of the annotated class

Implementation

@override
void apply(TypeDescriptor type) {
  Providers.register(ClassInstanceProvider(type.type, eager: true));
}