copyWith method
StickerAsset
copyWith({
- Sticker? sticker,
- double? angle,
- StickerConstraint? constraint,
- StickerPosition? position,
- StickerSize? size,
Implementation
StickerAsset copyWith({
Sticker? sticker,
double? angle,
StickerConstraint? constraint,
StickerPosition? position,
StickerSize? size,
}) {
return StickerAsset(
id: id,
sticker: sticker ?? this.sticker,
angle: angle ?? this.angle,
constraint: constraint ?? this.constraint,
position: position ?? this.position,
size: size ?? this.size,
);
}