put method
Implementation
Future<XRPCResponse<RepoPutRecordOutput>> put({
required NotificationDeclarationAllowSubscriptions allowSubscriptions,
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.appBskyNotificationDeclaration,
rkey: rkey,
validate: validate,
record: {
r'$type': 'app.bsky.notification.declaration',
...?$unknown,
'allowSubscriptions': allowSubscriptions.toJson(),
},
swapRecord: swapRecord,
swapCommit: swapCommit,
$ctx: ctx,
$headers: $headers,
);