copyWith method

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

Implementation

@override
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,
    );