use method

Adds a middleware factory to the pipeline.

Implementation

ImageGeneratorBuilder use(
    ImageGenerator Function(ImageGenerator) factory) {
  _factories.add(factory);
  return this;
}