NotificationDeclarationRecord constructor
Implementation
@JsonSerializable(includeIfNull: false)
const factory NotificationDeclarationRecord({
@Default('app.bsky.notification.declaration') String $type,
/// A declaration of the user's preference for allowing activity subscriptions from other users. Absence of a record implies 'followers'.
@NotificationDeclarationAllowSubscriptionsConverter()
required NotificationDeclarationAllowSubscriptions allowSubscriptions,
Map<String, dynamic>? $unknown,
}) = _NotificationDeclarationRecord;