captureScreenshotAsList method
Take a screenshot of the current page as PNG as list of uint8.
Implementation
Future<List<int>> captureScreenshotAsList() async {
var base64Encoded = captureScreenshotAsBase64();
return base64.decode(await base64Encoded);
}