rotateAndSaveImage static method

Future<File> rotateAndSaveImage({
  1. required String path,
})

Get the path of the image, fix the orientation and saves the file in the device. Return the File with the exif data fixed

Implementation

static Future<File> rotateAndSaveImage({
  required String path,
}) async =>
    await _rotateImageInternal(
      path: path,
      save: true,
    );