copyWith method

AvailableReaction copyWith({
  1. ReactionType? type,
  2. bool? needsPremium,
})

Implementation

AvailableReaction copyWith({
  ReactionType? type,
  bool? needsPremium,
}) =>
    AvailableReaction(
      type: type ?? this.type,
      needsPremium: needsPremium ?? this.needsPremium,
    );