appleRotation property

ImageOrientation get appleRotation

Implementation

ImageOrientation get appleRotation {
  switch (this) {
    case InputImageRotation.rotation0deg:
      return ImageOrientation.up;
    case InputImageRotation.rotation90deg:
      return ImageOrientation.up;
    case InputImageRotation.rotation180deg:
      return ImageOrientation.down;
    case InputImageRotation.rotation270deg:
      return ImageOrientation.downMirrored;

    default:
      return ImageOrientation.up;
  }
}