setD method

  1. @override
NPatchInfoD setD(
  1. NPatchInfoD o
)
override

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

Implementation

@override
NPatchInfoD setD(NPatchInfoD o) {
  originalPointer ??= o.originalPointer;
  source.setD(o.source);
  left = o.left;
  top = o.top;
  right = o.right;
  bottom = o.bottom;
  layout = o.layout;
  return this;
}