declaration method

Future<XRPCResponse<StrongRef>> declaration({
  1. required DeclarationAllowIncoming allowIncoming,
})

Implementation

Future<core.XRPCResponse<atp.StrongRef>> declaration({
  required DeclarationAllowIncoming allowIncoming,
}) async =>
    await _ctx.atproto.repo.createRecord(
      collection: ns.chatBskyActorDeclaration,
      record: {
        'allowIncoming': allowIncoming.value,
      },
    );