copyWith method

TextCompositionStyle copyWith({
  1. String? name,
  2. int? customEmojiId,
  3. String? title,
  4. bool? isCustom,
  5. bool? isCreator,
  6. int? installCount,
  7. String? prompt,
  8. int? creatorUserId,
  9. TextCompositionStyleExample? englishExample,
})

Implementation

TextCompositionStyle copyWith({
  String? name,
  int? customEmojiId,
  String? title,
  bool? isCustom,
  bool? isCreator,
  int? installCount,
  String? prompt,
  int? creatorUserId,
  TextCompositionStyleExample? englishExample,
}) => TextCompositionStyle(
  name: name ?? this.name,
  customEmojiId: customEmojiId ?? this.customEmojiId,
  title: title ?? this.title,
  isCustom: isCustom ?? this.isCustom,
  isCreator: isCreator ?? this.isCreator,
  installCount: installCount ?? this.installCount,
  prompt: prompt ?? this.prompt,
  creatorUserId: creatorUserId ?? this.creatorUserId,
  englishExample: englishExample ?? this.englishExample,
);