put method
Future<XRPCResponse<PutRecordOutput> >
put({
- String? rkey,
- required DeclarationRecord record,
- Map<
String, dynamic> ? $unknown, - Map<
String, String> ? $headers, - PostClient? $client,
Updates declaration record.
Implementation
Future<XRPCResponse<PutRecordOutput>> put({
String? rkey,
required DeclarationRecord record,
Map<String, dynamic>? $unknown,
Map<String, String>? $headers,
PostClient? $client,
}) async =>
await _ctx.atproto.repo.putRecord(
repo: _ctx.repo,
collection: ns.chatBskyActorDeclaration,
rkey: rkey ?? 'self',
record: record.toJson(),
$headers: $headers,
$client: $client,
);