# GlassesAttributes.createFromStruct constructor

GlassesAttributes.createFromStruct(

1. id3FaceGlassesAttributes value

)

Create a new instance of the GlassesAttributes from the native struct

## Implementation

    GlassesAttributes.createFromStruct(id3FaceGlassesAttributes value) : _handle = calloc() {
      _handle.ref.FrameOnEye = value.FrameOnEye;
      _handle.ref.HeavyFrame = value.HeavyFrame;
      _handle.ref.TintedGlasses = value.TintedGlasses;
      _finalizer.attach(this, _handle, detach: this);
    }