size method

Future<void> size({
  1. required dynamic width,
  2. required dynamic height,
  3. int copies = 1,
})

Implementation

Future<void> size({required width, required height, int copies = 1}) async {
  Map<String, dynamic> params = {
    "width": width,
    "height": height,
    "copies": copies
  };
  await methodChannel.invokeMethod<void>('size', params);
}