copyWith method

  1. @override
UpdatePollAnswer copyWith({
  1. int? pollId,
  2. int? userId,
  3. List<int>? optionIds,
  4. dynamic extra,
  5. int? clientId,
})
override

Implementation

@override
UpdatePollAnswer copyWith({
  int? pollId,
  int? userId,
  List<int>? optionIds,
  dynamic extra,
  int? clientId,
}) => UpdatePollAnswer(
  pollId: pollId ?? this.pollId,
  userId: userId ?? this.userId,
  optionIds: optionIds ?? this.optionIds,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);