sendScreenShot method
Implementation
void sendScreenShot (ByteData image, List<Rect> rects) async {
final items = List.generate(rects.length + 1, (i) => i == 0 ? image.buffer.asUint8List() : _pm.rectToMap(rects[i-1]));
_imageTransferChannel.send(items);
}