localFileScreenshotProcessor function

Future<String> localFileScreenshotProcessor(
  1. dynamic ss
)

A drop-in replacement for the default fileio upload screenshot processor.

Implementation

Future<String> localFileScreenshotProcessor(ss) {
  return _writeImageData(ss.bytes).then((file) {
    return file.absolute.path;
  });
}