create method

Future<XRPCResponse<RepoCreateRecordOutput>> create({
  1. required bool hideFromAlgorithmicRecommendations,
  2. String rkey = 'self',
  3. bool? validate,
  4. String? swapCommit,
  5. Map<String, String>? $headers,
  6. Map<String, String>? $unknown,
})

Implementation

Future<XRPCResponse<RepoCreateRecordOutput>> create({
  required bool hideFromAlgorithmicRecommendations,
  String rkey = 'self',
  bool? validate,
  String? swapCommit,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await comAtprotoRepoCreateRecord(
  repo: ctx.repo,
  collection: ids.appBskyActorContentVisibilityDeclaration,
  rkey: rkey,
  validate: validate,
  record: {
    r'$type': 'app.bsky.actor.contentVisibilityDeclaration',
    ...?$unknown,
    'hideFromAlgorithmicRecommendations': hideFromAlgorithmicRecommendations,
  },
  swapCommit: swapCommit,
  $ctx: ctx,
  $headers: $headers,
);