copyWith method
ReportChat
copyWith({
- int? chatId,
- List<
int> ? messageIds, - ChatReportReason? reason,
- String? text,
Implementation
ReportChat copyWith({
int? chatId,
List<int>? messageIds,
ChatReportReason? reason,
String? text,
}) => ReportChat(
chatId: chatId ?? this.chatId,
messageIds: messageIds ?? this.messageIds,
reason: reason ?? this.reason,
text: text ?? this.text,
);