copyWith method

AssistMessageToolbarItem copyWith({
  1. Widget? content,
  2. String? tooltip,
  3. bool? isSelected,
})

Implementation

AssistMessageToolbarItem copyWith({
  Widget? content,
  String? tooltip,
  bool? isSelected,
}) {
  return AssistMessageToolbarItem(
    content: content ?? this.content,
    tooltip: tooltip ?? this.tooltip,
    isSelected: isSelected ?? this.isSelected,
  );
}