copyWith method

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

Implementation

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