copyWith method
Implementation
Call copyWith({
int? id,
int? userId,
bool? isOutgoing,
bool? isVideo,
CallState? state,
}) => Call(
id: id ?? this.id,
userId: userId ?? this.userId,
isOutgoing: isOutgoing ?? this.isOutgoing,
isVideo: isVideo ?? this.isVideo,
state: state ?? this.state,
);