copyFrom method

Implementation

AntdSegmentedItem copyFrom(AntdSegmentedItem? other) {
  return AntdSegmentedItem(
    key: other?.key ?? key,
    style: other?.style ?? style,
    styleBuilder: other?.styleBuilder ?? styleBuilder,
    value: other?.value ?? value,
    disable: other?.disable ?? disable,
    onTap: other?.onTap ?? onTap,
    child: other?.child ?? child,
  );
}