copyWith method

ChatPhotoSticker copyWith({
  1. ChatPhotoStickerType? type,
  2. BackgroundFill? backgroundFill,
})

Implementation

ChatPhotoSticker copyWith({
  ChatPhotoStickerType? type,
  BackgroundFill? backgroundFill,
}) =>
    ChatPhotoSticker(
      type: type ?? this.type,
      backgroundFill: backgroundFill ?? this.backgroundFill,
    );