Future<void> captureImage({int? maxSize}) async { await channel.invokeMethod('captureImage', <String, dynamic>{ 'maxSize': maxSize, }); }