transformToPaths method

  1. @visibleForTesting
List<String> transformToPaths(
  1. Map<String, List<DocumentTransformation>> transformers
)

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();
}