copyWith method

GetChatEventLog copyWith({
  1. int? chatId,
  2. String? query,
  3. int? fromEventId,
  4. int? limit,
  5. ChatEventLogFilters? filters,
  6. List<int>? userIds,
})

Implementation

GetChatEventLog copyWith({
  int? chatId,
  String? query,
  int? fromEventId,
  int? limit,
  ChatEventLogFilters? filters,
  List<int>? userIds,
}) =>
    GetChatEventLog(
      chatId: chatId ?? this.chatId,
      query: query ?? this.query,
      fromEventId: fromEventId ?? this.fromEventId,
      limit: limit ?? this.limit,
      filters: filters ?? this.filters,
      userIds: userIds ?? this.userIds,
    );