copyWith method

GetStickers copyWith({
  1. StickerType? stickerType,
  2. String? query,
  3. int? limit,
  4. int? chatId,
})

Implementation

GetStickers copyWith({
  StickerType? stickerType,
  String? query,
  int? limit,
  int? chatId,
}) =>
    GetStickers(
      stickerType: stickerType ?? this.stickerType,
      query: query ?? this.query,
      limit: limit ?? this.limit,
      chatId: chatId ?? this.chatId,
    );