screenshot method
takes a screenshot
@param option
->
subtitles - with subtitles
video - without subtitles
window - the scaled mpv window
Implementation
Future screenshot(String file, {String? option}) {
var args = [
path.joinAll([path.current, file])
];
if (option != null) {
args = [...args, option];
}
return command('screenshot-to-file', args);
}