create method

Future<XRPCResponse<RepoCreateRecordOutput>> create({
  1. required String subject,
  2. required String handle,
  3. required String displayName,
  4. DateTime? createdAt,
  5. String? rkey,
  6. bool? validate,
  7. String? swapCommit,
  8. Map<String, String>? $headers,
  9. Map<String, String>? $unknown,
})

Implementation

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