classFilePathsFromAnnotations static method
Implementation
static Map<String, String> classFilePathsFromAnnotations(Iterable<AnnotatedElement> annotations) {
return Map<String, String>.fromIterable(
annotations,
key: (annotation) => annotation.element.name,
value: (annotation) {
final fileName = StringHelpers.snakeCase(annotation.element.name);
return '$fileName.dart';
},
);
}