copyWith method
GetAllStickerEmojis
copyWith({
- StickerType? stickerType,
- String? query,
- int? chatId,
- bool? returnOnlyMainEmoji,
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
GetAllStickerEmojis copyWith({
StickerType? stickerType,
String? query,
int? chatId,
bool? returnOnlyMainEmoji,
}) =>
GetAllStickerEmojis(
stickerType: stickerType ?? this.stickerType,
query: query ?? this.query,
chatId: chatId ?? this.chatId,
returnOnlyMainEmoji: returnOnlyMainEmoji ?? this.returnOnlyMainEmoji,
);