macOS native UIApplication.shared.applicationIconBadgeNumber

Is there any method in macOS native SwiftUI development that corresponds to following code from macOS Catalyst / iOS /iPadOS?
Code Block
UIApplication.shared.applicationIconBadgeNumber


To set it, you should call:

Code Block
if #available(OSX 10.14, *) {
      DispatchQueue.main.async {
print(NSApplication.shared.dockTile.badgeLabel)
          NSApplication.shared.dockTile.badgeLabel = "1"
}
}


You need to authorize notifications for the app in System Preferences / Notifications
macOS native UIApplication.shared.applicationIconBadgeNumber
 
 
Q