service method
Future<XRPCResponse<StrongRef> >
service({
- required LabelerPolicies policies,
- SelfLabels? labels,
- DateTime? createdAt,
Implementation
Future<core.XRPCResponse<atp.StrongRef>> service({
required LabelerPolicies policies,
atp.SelfLabels? labels,
DateTime? createdAt,
}) async =>
await _ctx.atproto.repo.createRecord(
collection: ns.appBskyLabelerService,
rkey: 'self',
record: {
'policies': policies.toJson(),
'labels': labels?.toJson(),
'createdAt': _ctx.toUtcIso8601String(createdAt),
},
);