copyWith method

InlineQueryResultSticker copyWith({
  1. String? id,
  2. Sticker? sticker,
})

Implementation

InlineQueryResultSticker copyWith({String? id, Sticker? sticker}) =>
    InlineQueryResultSticker(
      id: id ?? this.id,
      sticker: sticker ?? this.sticker,
    );