create method
Implementation
Future<XRPCResponse<RepoCreateRecordOutput>> create({
required int lexicon,
String? rkey,
bool? validate,
String? swapCommit,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await comAtprotoRepoCreateRecord(
repo: ctx.repo,
collection: ids.comAtprotoLexiconSchema,
rkey: rkey,
validate: validate,
record: {
r'$type': 'com.atproto.lexicon.schema',
...?$unknown,
'lexicon': lexicon,
},
swapCommit: swapCommit,
$ctx: ctx,
$headers: $headers,
);