apply property

set apply (NikuInputBorder? v)

Implementation

set apply(NikuInputBorder? v) {
  if (v == null) return;

  width = v.width ?? width;
  radius = v.radius ?? radius;
  style = v.style ?? style;
  color = v.color ?? color;
  gapPadding = v.gapPadding ?? gapPadding;
  borderRadius = v.borderRadius ?? borderRadius;
  type = v.type ?? type;
}