put method
Implementation
Future<XRPCResponse<RepoPutRecordOutput>> put({
required USpacePolicyPolicy policy,
String rkey = 'self',
bool? validate,
String? swapRecord,
String? swapCommit,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await comAtprotoRepoPutRecord(
repo: ctx.repo,
collection: ids.comAtprotoSpacePolicy,
rkey: rkey,
validate: validate,
record: {
r'$type': 'com.atproto.space.policy',
...?$unknown,
'policy': policy.toJson(),
},
swapRecord: swapRecord,
swapCommit: swapCommit,
$ctx: ctx,
$headers: $headers,
);