copyWith method

  1. @override
UpdateNewGroupCallPaidReaction copyWith({
  1. int? groupCallId,
  2. MessageSender? senderId,
  3. int? starCount,
  4. dynamic extra,
  5. int? clientId,
})
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
UpdateNewGroupCallPaidReaction copyWith({
  int? groupCallId,
  MessageSender? senderId,
  int? starCount,
  dynamic extra,
  int? clientId,
}) => UpdateNewGroupCallPaidReaction(
  groupCallId: groupCallId ?? this.groupCallId,
  senderId: senderId ?? this.senderId,
  starCount: starCount ?? this.starCount,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);