copyFrom method

AntdSeedToken copyFrom(
  1. AntdSeedToken? other
)

Implementation

AntdSeedToken copyFrom(AntdSeedToken? other) {
  if (other == null) return this;

  return AntdSeedToken(
    radius: other.radius,
    colorInfo: other.colorInfo,
    colorLink: other.colorLink,
    colorPrimary: other.colorPrimary,
    colorSuccess: other.colorSuccess,
    colorWarning: other.colorWarning,
    colorError: other.colorError,
    colorText: other.colorText,
    colorBgBase: other.colorBgBase,
    fontSize: other.fontSize,
    lineWidth: other.lineWidth,
    sizeStep: other.sizeStep,
    sizeUnit: other.sizeUnit,
    opacityDefine: other.opacityDefine,
    defaultTextStyle: other.defaultTextStyle,
    arrow: other.arrow,
  );
}