Constructs a new NotificationCenter instance.
Dispatches a notification to all subscribed handlers for the notification's name.
The notification to dispatch.
Subscribes a handler to a specific notification name.
The notification name to subscribe to.
The handler function to invoke when the notification is dispatched.
Unsubscribes a handler from a specific notification name.
The notification name to unsubscribe from.
The handler function to remove.
NotificationCenter manages the subscription and dispatching of notifications to registered handlers. Implements the INotificationCenter interface.