copyWith method

CreateTextCompositionStyle copyWith({
  1. String? title,
  2. int? customEmojiId,
  3. String? prompt,
  4. bool? showCreator,
})

Implementation

CreateTextCompositionStyle copyWith({
  String? title,
  int? customEmojiId,
  String? prompt,
  bool? showCreator,
}) => CreateTextCompositionStyle(
  title: title ?? this.title,
  customEmojiId: customEmojiId ?? this.customEmojiId,
  prompt: prompt ?? this.prompt,
  showCreator: showCreator ?? this.showCreator,
);