copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
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,
);