setC method

Copies the fields of the native struct o into this instance.

Implementation

@override
AutomationEventD setC(AutomationEventC o) {
  frame = o.frame;
  type = o.type;
  params = .generate(paramCount, (i) => o.params[i]);
  return this;
}