ScreenshotProcessor typedef

ScreenshotProcessor = Future<String> Function(DeviceScreenshot screenshot)

Process a given screenshot and returns a displayed message.

See also :

  • DevicePreview uses it to process all the screenshots taken by the user.

Implementation

typedef ScreenshotProcessor = Future<String> Function(
  DeviceScreenshot screenshot,
);