copyWith method
Implementation
ChatMessageModel copyWith({
String? id,
String? object,
String? created,
String? model,
List<ChoiceModel>? choices,
bool? isSentByMe,
}) =>
ChatMessageModel(
id: id ?? this.id,
model: model ?? this.model,
choices: choices ?? this.choices,
);