copyWith method

ColorBean copyWith({
  1. ColorBeanKey? key,
})

Implementation

ColorBean copyWith({ColorBeanKey? key}) {
  return ColorBean(
    key: key ?? this.key,
  );
}