screencap method

Future<ProcessResult> screencap(
  1. String path, {
  2. bool debug = false,
})

Implementation

Future<io.ProcessResult> screencap(String path, {bool debug = false}) async {
  return await exec(['screencap', '-p', path], debug: debug);
}