takeScreenshot method

Future<Screenshot> takeScreenshot({
  1. String? name,
})

Takes as screenshot of the widget that can be found by this selector.

Implementation

Future<Screenshot> takeScreenshot({String? name}) {
  return self.takeScreenshot(selector: this, name: name);
}