put method

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

Implementation

Future<XRPCResponse<RepoPutRecordOutput>> put({
  required String subject,
  DateTime? createdAt,
  required String rkey,
  bool? validate,
  String? swapRecord,
  String? swapCommit,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await comAtprotoRepoPutRecord(
  repo: _ctx.repo,
  collection: ids.appBskyGraphFollow,
  rkey: rkey,
  validate: validate,
  record: {...?$unknown, 'subject': subject, 'createdAt': iso8601(createdAt)},
  swapRecord: swapRecord,
  swapCommit: swapCommit,
  $ctx: _ctx,
  $headers: $headers,
);