copyWith method

AddedReactions copyWith({
  1. int? totalCount,
  2. List<AddedReaction>? reactions,
  3. String? nextOffset,
})

Implementation

AddedReactions copyWith({
  int? totalCount,
  List<AddedReaction>? reactions,
  String? nextOffset,
}) =>
    AddedReactions(
      totalCount: totalCount ?? this.totalCount,
      reactions: reactions ?? this.reactions,
      nextOffset: nextOffset ?? this.nextOffset,
    );