registerPush method
Register to receive push notifications, via a specified service, for the requesting account. Requires auth.
Implementation
Future<XRPCResponse<EmptyData>> registerPush({
required String serviceDid,
required String token,
required NotificationRegisterPushPlatform platform,
required String appId,
bool? ageRestricted,
String? $service,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await appBskyNotificationRegisterPush(
serviceDid: serviceDid,
token: token,
platform: platform,
appId: appId,
ageRestricted: ageRestricted,
$ctx: ctx,
$service: $service,
$headers: $headers,
$unknown: $unknown,
);