copyWith method

CallStateDiscarded copyWith({
  1. CallDiscardReason? reason,
  2. bool? needRating,
  3. bool? needDebugInformation,
  4. bool? needLog,
})

Implementation

CallStateDiscarded copyWith({
  CallDiscardReason? reason,
  bool? needRating,
  bool? needDebugInformation,
  bool? needLog,
}) => CallStateDiscarded(
  reason: reason ?? this.reason,
  needRating: needRating ?? this.needRating,
  needDebugInformation: needDebugInformation ?? this.needDebugInformation,
  needLog: needLog ?? this.needLog,
);