copyWith method

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

Implementation

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