copyFrom method

CssBorder copyFrom(
  1. CssBorder other
)

Creates a copy of this border with the sides from other.

Implementation

CssBorder copyFrom(CssBorder other) => copyWith(
      all: other._all,
      bottom: other._bottom,
      inlineEnd: other._inlineEnd,
      inlineStart: other._inlineStart,
      left: other._left,
      right: other._right,
      top: other._top,
      radiusBottomLeft: other.radiusBottomLeft,
      radiusBottomRight: other.radiusBottomRight,
      radiusTopLeft: other.radiusTopLeft,
      radiusTopRight: other.radiusTopRight,
    );