apply property

set apply (NikuStrutStyle? v)

Implementation

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

  fontFamily = v.fontFamily ?? fontFamily;
  fontFamilyFallback = v.fontFamilyFallback ?? fontFamilyFallback;
  fontSize = v.fontSize ?? fontSize;
  height = v.height ?? height;
  leadingDistribution = v.leadingDistribution ?? leadingDistribution;
  leading = v.leading ?? leading;
  fontWeight = v.fontWeight ?? fontWeight;
  fontStyle = v.fontStyle ?? fontStyle;
  forceStrutHeight = v.forceStrutHeight ?? forceStrutHeight;
  debugLabel = v.debugLabel ?? debugLabel;
  package = v.package ?? package;
}