create method
Implementation
Future<XRPCResponse<RepoCreateRecordOutput>> create({
required AtUri subject,
DateTime? createdAt,
String? rkey,
bool? validate,
String? swapCommit,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await comAtprotoRepoCreateRecord(
repo: _ctx.repo,
collection: ids.appBskyGraphListblock,
rkey: rkey,
validate: validate,
record: {
...?$unknown,
'subject': subject.toString(),
'createdAt': iso8601(createdAt),
},
swapCommit: swapCommit,
$ctx: _ctx,
$headers: $headers,
);