captureScreenshot method Null safety
- @Deprecated('Use captureScreenshotAsBase64 or captureScreenshotAsList!')
Deprecated('Use captureScreenshotAsBase64 or captureScreenshotAsList!')">@Deprecated('Use captureScreenshotAsBase64 or captureScreenshotAsList!')
Take a screenshot of the current page as PNG as stream of uint8.
Don't use this method. Prefer captureScreenshotAsBase64 or
captureScreenshotAsList. Returning the data as Stream
Implementation
@Deprecated('Use captureScreenshotAsBase64 or captureScreenshotAsList!')
Stream<int> captureScreenshot() async* {
yield* Stream.fromIterable(await captureScreenshotAsList());
}