toNative method
Implementation
Pointer<ResolvedConfigFfi> toNative(Arena arena) {
final ptr = arena<ResolvedConfigFfi>();
ptr.ref.width = width;
ptr.ref.height = height;
ptr.ref.fps = fps;
ptr.ref.pixelFormat = pixelFormat;
ptr.ref.videoHdrEnabled = videoHdrEnabled;
ptr.ref.autoFocusSystem = autoFocusSystem;
ptr.ref.active = active;
return ptr;
}