copyWith method

IconSticker copyWith({
  1. IconData? iconData,
  2. Color? color,
})

Copy object

Implementation

IconSticker copyWith({
  IconData? iconData,
  Color? color,
}) {
  return IconSticker(
    iconData: iconData ?? this.iconData,
    color: color ?? this.color,
  );
}