copyWith method

ChatUIKitAppBarAction copyWith({
  1. ChatUIKitActionItemOnTap? onTap,
  2. Widget? child,
  3. ChatUIKitActionType? actionType,
})

Implementation

ChatUIKitAppBarAction copyWith({
  ChatUIKitActionItemOnTap? onTap,
  Widget? child,
  ChatUIKitActionType? actionType,
}) {
  return ChatUIKitAppBarAction(
    child: child ?? this.child,
    actionType: actionType ?? this.actionType,
    onTap: onTap ?? this.onTap,
  );
}