copyWith method

  1. @override
InputStoryAreaTypeSuggestedReaction copyWith({
  1. ReactionType? reactionType,
  2. bool? isDark,
  3. 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,
);