copyWith method

DiscardCall copyWith({
  1. int? callId,
  2. bool? isDisconnected,
  3. int? duration,
  4. bool? isVideo,
  5. int? connectionId,
})

Implementation

DiscardCall copyWith({
  int? callId,
  bool? isDisconnected,
  int? duration,
  bool? isVideo,
  int? connectionId,
}) =>
    DiscardCall(
      callId: callId ?? this.callId,
      isDisconnected: isDisconnected ?? this.isDisconnected,
      duration: duration ?? this.duration,
      isVideo: isVideo ?? this.isVideo,
      connectionId: connectionId ?? this.connectionId,
    );