TakeScreenshot method
Takes a screenshot of current screen (filename extension defines format)
Implementation
void TakeScreenshot(
String fileName,
) => run(
() => _debugLabels.TakeScreenshot(fileName),
() => _flat.TakeScreenshot(
$.String$.ValueOrNull(fileName),
),
);