copyWith method

SetChatLocation copyWith({
  1. int? chatId,
  2. ChatLocation? location,
})

Implementation

SetChatLocation copyWith({
  int? chatId,
  ChatLocation? location,
}) => SetChatLocation(
  chatId: chatId ?? this.chatId,
  location: location ?? this.location,
);