copyWith method

CreateCall copyWith({
  1. int? userId,
  2. CallProtocol? protocol,
  3. bool? isVideo,
})

Implementation

CreateCall copyWith({int? userId, CallProtocol? protocol, bool? isVideo}) =>
    CreateCall(
      userId: userId ?? this.userId,
      protocol: protocol ?? this.protocol,
      isVideo: isVideo ?? this.isVideo,
    );