copyWith method
Sticker
copyWith(
{ - int? setId,
- int? width,
- int? height,
- String? emoji,
- bool? isAnimated,
- bool? isMask,
- MaskPosition? maskPosition,
- List<ClosedVectorPath>? outline,
- Thumbnail? thumbnail,
- File? sticker,
- int? clientId,
})
Implementation
Sticker copyWith({
int? setId,
int? width,
int? height,
String? emoji,
bool? isAnimated,
bool? isMask,
MaskPosition? maskPosition,
List<ClosedVectorPath>? outline,
Thumbnail? thumbnail,
File? sticker,
dynamic extra,
int? clientId,
}) => Sticker(
setId: setId ?? this.setId,
width: width ?? this.width,
height: height ?? this.height,
emoji: emoji ?? this.emoji,
isAnimated: isAnimated ?? this.isAnimated,
isMask: isMask ?? this.isMask,
maskPosition: maskPosition ?? this.maskPosition,
outline: outline ?? this.outline,
thumbnail: thumbnail ?? this.thumbnail,
sticker: sticker ?? this.sticker,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);