copyWith method

AvailableReactions copyWith({
  1. List<AvailableReaction>? topReactions,
  2. List<AvailableReaction>? recentReactions,
  3. List<AvailableReaction>? popularReactions,
  4. bool? allowCustomEmoji,
  5. dynamic extra,
  6. int? clientId,
})

Implementation

AvailableReactions copyWith({
  List<AvailableReaction>? topReactions,
  List<AvailableReaction>? recentReactions,
  List<AvailableReaction>? popularReactions,
  bool? allowCustomEmoji,
  dynamic extra,
  int? clientId,
}) =>
    AvailableReactions(
      topReactions: topReactions ?? this.topReactions,
      recentReactions: recentReactions ?? this.recentReactions,
      popularReactions: popularReactions ?? this.popularReactions,
      allowCustomEmoji: allowCustomEmoji ?? this.allowCustomEmoji,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );