copyWith method

ReportChat copyWith({
  1. int? chatId,
  2. String? optionId,
  3. List<int>? messageIds,
  4. String? text,
})

Implementation

ReportChat copyWith({
  int? chatId,
  String? optionId,
  List<int>? messageIds,
  String? text,
}) => ReportChat(
  chatId: chatId ?? this.chatId,
  optionId: optionId ?? this.optionId,
  messageIds: messageIds ?? this.messageIds,
  text: text ?? this.text,
);