copyWith method
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,
);