generateDescriptor method

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

Implementation

@override
Future<SubjectDescriptor> generateDescriptor(
    SubjectGenContext<Element> context) async {
  var binding = SubjectDescriptor(uri: context.step.inputId.uri.toString());
  binding.meta["converterNames"] =
      context.matches.map((e) => e.name).toList();
  return binding;
}