copyWith method
StickerBoothValue
copyWith({
- double? aspectRatio,
- List<
StickerAsset> ? assets, - 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,
);
}