copyWith method

  1. @override
MessageCall copyWith({
  1. bool? isVideo,
  2. CallDiscardReason? discardReason,
  3. int? duration,
})
override

Implementation

@override
MessageCall copyWith({
  bool? isVideo,
  CallDiscardReason? discardReason,
  int? duration,
}) => MessageCall(
  isVideo: isVideo ?? this.isVideo,
  discardReason: discardReason ?? this.discardReason,
  duration: duration ?? this.duration,
);