copyWith method

DeleteChatMessagesByDate copyWith({
  1. int? chatId,
  2. int? minDate,
  3. int? maxDate,
  4. bool? revoke,
})

Implementation

DeleteChatMessagesByDate copyWith({
  int? chatId,
  int? minDate,
  int? maxDate,
  bool? revoke,
}) =>
    DeleteChatMessagesByDate(
      chatId: chatId ?? this.chatId,
      minDate: minDate ?? this.minDate,
      maxDate: maxDate ?? this.maxDate,
      revoke: revoke ?? this.revoke,
    );