copyWith method

Sticker copyWith({
  1. int? setId,
  2. int? width,
  3. int? height,
  4. String? emoji,
  5. bool? isAnimated,
  6. bool? isMask,
  7. MaskPosition? maskPosition,
  8. List<ClosedVectorPath>? outline,
  9. Thumbnail? thumbnail,
  10. File? sticker,
  11. dynamic extra,
  12. 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,
);