# PortraitQualityCheckpoints.createFromStruct constructor

PortraitQualityCheckpoints.createFromStruct(

1. id3FacePortraitQualityCheckpoints value

)

Create a new instance of the PortraitQualityCheckpoints from the native struct

## Implementation

    PortraitQualityCheckpoints.createFromStruct(id3FacePortraitQualityCheckpoints value) : _handle = calloc() {
      _handle.ref.MouthClosed = value.MouthClosed;
      _handle.ref.ImageColoured = value.ImageColoured;
      _handle.ref.BrightnessBalanced = value.BrightnessBalanced;
      _handle.ref.PoseFrontal = value.PoseFrontal;
      _handle.ref.DynamicRange = value.DynamicRange;
      _handle.ref.HeadHeightCorrect = value.HeadHeightCorrect;
      _handle.ref.HeadWidthCorrect = value.HeadWidthCorrect;
      _handle.ref.HeadHorizontalPositionCorrect = value.HeadHorizontalPositionCorrect;
      _handle.ref.HeadVerticalPositionCorrect = value.HeadVerticalPositionCorrect;
      _handle.ref.ImageResolutionCorrect = value.ImageResolutionCorrect;
      _handle.ref.ImageSharp = value.ImageSharp;
      _handle.ref.SkinColorNatural = value.SkinColorNatural;
      _handle.ref.ExpressionNeutral = value.ExpressionNeutral;
      _handle.ref.NoFlashReflection = value.NoFlashReflection;
      _handle.ref.NoGlasses = value.NoGlasses;
      _handle.ref.NoHat = value.NoHat;
      _handle.ref.NoNoise = value.NoNoise;
      _handle.ref.NoOverExposure = value.NoOverExposure;
      _handle.ref.NoPixelation = value.NoPixelation;
      _handle.ref.NoRedEye = value.NoRedEye;
      _handle.ref.NoSmile = value.NoSmile;
      _handle.ref.NoUnderExposure = value.NoUnderExposure;
      _handle.ref.EyesOpen = value.EyesOpen;
      _handle.ref.LookStraight = value.LookStraight;
      _handle.ref.BackgroundUniform = value.BackgroundUniform;
      _handle.ref.LeftEyeVisible = value.LeftEyeVisible;
      _handle.ref.RightEyeVisible = value.RightEyeVisible;
      _handle.ref.MouthVisible = value.MouthVisible;
      _handle.ref.NoseVisible = value.NoseVisible;
      _finalizer.attach(this, _handle, detach: this);
    }