# ColorBasedPadResult.createFromStruct constructor

ColorBasedPadResult.createFromStruct(

1. id3FaceColorBasedPadResult value

)

Create a new instance of the ColorBasedPadResult from the native struct

## Implementation

    ColorBasedPadResult.createFromStruct(id3FaceColorBasedPadResult value) : _handle = calloc() {
      _handle.ref.Score = value.Score;
      _handle.ref.Confidence = value.Confidence;
      _finalizer.attach(this, _handle, detach: this);
    }