copyWith method

SendCallRating copyWith({
  1. int? callId,
  2. int? rating,
  3. String? comment,
  4. List<CallProblem>? problems,
})

Implementation

SendCallRating copyWith({
  int? callId,
  int? rating,
  String? comment,
  List<CallProblem>? problems,
}) => SendCallRating(
  callId: callId ?? this.callId,
  rating: rating ?? this.rating,
  comment: comment ?? this.comment,
  problems: problems ?? this.problems,
);