updateSpace method
Replace the policy of a space. Changing to a different policy type discards state held by the previous policy, such as a member list. Requires auth as the space authority, implemented by PDS.
Implementation
Future<XRPCResponse<EmptyData>> updateSpace({
required String space,
required USpaceUpdateSpacePolicy policy,
String? $service,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await comAtprotoSpaceUpdateSpace(
space: space,
policy: policy,
$ctx: ctx,
$service: $service,
$headers: $headers,
$unknown: $unknown,
);