setEnableScreenshots method

void setEnableScreenshots(
  1. bool enable
)

This feature works only for Android

Implementation

void setEnableScreenshots(bool enable) {
  this.enableScreenshot = enable;
}