copyWith method

InputSticker copyWith({
  1. InputFile? sticker,
  2. InputThumbnail? thumbnail,
  3. int? width,
  4. int? height,
})

Implementation

InputSticker copyWith({
  InputFile? sticker,
  InputThumbnail? thumbnail,
  int? width,
  int? height,
}) =>
    InputSticker(
      sticker: sticker ?? this.sticker,
      thumbnail: thumbnail ?? this.thumbnail,
      width: width ?? this.width,
      height: height ?? this.height,
    );