copyWith method

  1. @override
UpdateNewInlineQuery copyWith({
  1. int? id,
  2. int? senderUserId,
  3. Location? userLocation,
  4. ChatType? chatType,
  5. String? query,
  6. String? offset,
  7. dynamic extra,
  8. int? clientId,
})
override

Implementation

@override
UpdateNewInlineQuery copyWith({
  int? id,
  int? senderUserId,
  Location? userLocation,
  ChatType? chatType,
  String? query,
  String? offset,
  dynamic extra,
  int? clientId,
}) =>
    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,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );