rebuild abstract method

Rebuilds the instance.

The result is the same as this instance but with updates applied. updates is a function that takes a builder $RoomRoomJoinFederatedRoomHeadersInterfaceBuilder.

Implementation

$RoomRoomJoinFederatedRoomHeadersInterface rebuild(
  void Function($RoomRoomJoinFederatedRoomHeadersInterfaceBuilder) updates,
);