copyWith method

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

Implementation

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