copyWith method

Sticker copyWith({
  1. int? id,
  2. int? setId,
  3. int? width,
  4. int? height,
  5. String? emoji,
  6. StickerFormat? format,
  7. StickerFullType? fullType,
  8. List<ClosedVectorPath>? outline,
  9. Thumbnail? thumbnail,
  10. File? sticker,
  11. dynamic extra,
  12. int? clientId,
})

Implementation

Sticker copyWith({
  int? id,
  int? setId,
  int? width,
  int? height,
  String? emoji,
  StickerFormat? format,
  StickerFullType? fullType,
  List<ClosedVectorPath>? outline,
  Thumbnail? thumbnail,
  File? sticker,
  dynamic extra,
  int? clientId,
}) =>
    Sticker(
      id: id ?? this.id,
      setId: setId ?? this.setId,
      width: width ?? this.width,
      height: height ?? this.height,
      emoji: emoji ?? this.emoji,
      format: format ?? this.format,
      fullType: fullType ?? this.fullType,
      outline: outline ?? this.outline,
      thumbnail: thumbnail ?? this.thumbnail,
      sticker: sticker ?? this.sticker,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );