copyWith method

StickerBoothValue copyWith({
  1. double? aspectRatio,
  2. List<StickerAsset>? assets,
  3. String? selectedAssetId,
})

Implementation

StickerBoothValue copyWith({
  double? aspectRatio,
  List<StickerAsset>? assets,
  String? selectedAssetId,
}) {
  return StickerBoothValue(
    aspectRatio: aspectRatio ?? this.aspectRatio,
    assets: assets ?? this.assets,
    selectedAssetId: selectedAssetId ?? this.selectedAssetId,
  );
}