transformToPaths method
- @visibleForTesting
- Map<
String, List< transformersDocumentTransformation> >
Implementation
@visibleForTesting
List<String> transformToPaths(
Map<String, List<DocumentTransformation>> transformers) {
return transformers.entries.map((entry) {
return PathTransformer('${entry.key}/document',
transformations: entry.value)
.path;
}).toList();
}