copyWith method

UpdateNewInlineQuery copyWith({
  1. int? id,
  2. int? senderUserId,
  3. Location? userLocation,
  4. ChatType? chatType,
  5. String? query,
  6. String? offset,
})

Implementation

UpdateNewInlineQuery copyWith({
  int? id,
  int? senderUserId,
  Location? userLocation,
  ChatType? chatType,
  String? query,
  String? offset,
}) => UpdateNewInlineQuery(
  id: id ?? this.id,
  senderUserId: senderUserId ?? this.senderUserId,
  userLocation: userLocation ?? this.userLocation,
  chatType: chatType ?? this.chatType,
  query: query ?? this.query,
  offset: offset ?? this.offset,
);