capturePhoto method
Captures a photo using the device camera.
Platform implementations should override this method to handle camera capture on their respective platforms.
Implementation
Future<PickedFile?> capturePhoto({
required bool allowCompression,
required int compressionQuality,
required bool withData,
}) {
throw UnimplementedError('capturePhoto() has not been implemented.');
}