copyWith method

MessageSticker copyWith({
  1. Sticker? sticker,
  2. bool? isPremium,
})

Implementation

MessageSticker copyWith({Sticker? sticker, bool? isPremium}) =>
    MessageSticker(
      sticker: sticker ?? this.sticker,
      isPremium: isPremium ?? this.isPremium,
    );