generateDescriptor method

  1. @override
Future<SubjectDescriptor> generateDescriptor(
  1. SubjectGenContext<Element> context
)

Implementation

@override
Future<SubjectDescriptor> generateDescriptor(
    SubjectGenContext<Element> context) async {
  var binding = context.defaultDescriptor();
  binding.meta["converterNames"] =
      context.matches.map((e) => "${e.name}Converter").toList();
  return binding;
}