dispatchRect method
Implementation
@override
Uint8List dispatchRect(Uint8List data, int width, int height, Rect rect) {
final newByte = Uint8List.fromList(data);
final random = math.Random();
final offset = random.nextInt(5) + 1;
for (int i = 0; i < offset; i++) {
openOp(newByte, width, rect, i);
closeOp(newByte, width, rect, i);
}
return newByte;
}