copyWith method

TencentCloudAvChatRoomData copyWith({
  1. String? loginUserID,
  2. bool? isSubscribe,
  3. AnchorInfo? anchorInfo,
  4. String? avChatRoomID,
  5. String? notification,
})

Implementation

TencentCloudAvChatRoomData copyWith({
  String? loginUserID,
  bool? isSubscribe,
  AnchorInfo? anchorInfo,
  String? avChatRoomID,
  String? notification,
}) {
  return TencentCloudAvChatRoomData(
      isSubscribe: isSubscribe ?? this.isSubscribe,
      anchorInfo: anchorInfo ?? this.anchorInfo,
      notification: notification ?? this.notification);
}