copyWith method
InputStoryAreaTypeSuggestedReaction
copyWith({
- ReactionType? reactionType,
- bool? isDark,
- bool? isFlipped,
override
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
@override
InputStoryAreaTypeSuggestedReaction copyWith({
ReactionType? reactionType,
bool? isDark,
bool? isFlipped,
}) =>
InputStoryAreaTypeSuggestedReaction(
reactionType: reactionType ?? this.reactionType,
isDark: isDark ?? this.isDark,
isFlipped: isFlipped ?? this.isFlipped,
);