takeScreenshot abstract method

Future<Map<String, dynamic>> takeScreenshot(
  1. String screenshot,
  2. [Map<String, Object?>? args]
)

Takes a screenshot of the application. Returns the data that is sent back to the host.

Implementation

Future<Map<String, dynamic>> takeScreenshot(String screenshot, [Map<String, Object?>? args]);