copyWith method
Implementation
UpdateChatPosition copyWith({
int? chatId,
ChatPosition? position,
}) =>
UpdateChatPosition(
chatId: chatId ?? this.chatId,
position: position ?? this.position,
);
UpdateChatPosition copyWith({
int? chatId,
ChatPosition? position,
}) =>
UpdateChatPosition(
chatId: chatId ?? this.chatId,
position: position ?? this.position,
);