copyWith method
ViewMessages
copyWith({
- int? chatId,
- List<
int> ? messageIds, - MessageSource? source,
- bool? forceRead,
Implementation
ViewMessages copyWith({
int? chatId,
List<int>? messageIds,
MessageSource? source,
bool? forceRead,
}) =>
ViewMessages(
chatId: chatId ?? this.chatId,
messageIds: messageIds ?? this.messageIds,
source: source ?? this.source,
forceRead: forceRead ?? this.forceRead,
);