copyWith method

AddRecentSticker copyWith({
  1. bool? isAttached,
  2. InputFile? sticker,
})

Implementation

AddRecentSticker copyWith({
  bool? isAttached,
  InputFile? sticker,
}) =>
    AddRecentSticker(
      isAttached: isAttached ?? this.isAttached,
      sticker: sticker ?? this.sticker,
    );