copyWith method

ChatConfigOption copyWith({
  1. Object? currentValue,
})

Implementation

ChatConfigOption copyWith({Object? currentValue}) {
  return ChatConfigOption(
    id: id,
    name: name,
    type: type,
    currentValue: _stringConfigValue(currentValue) ?? this.currentValue,
    options: options,
    description: description,
    category: category,
    group: group,
  );
}