NotificationService constructor

NotificationService()

Gets the singleton instance of NotificationService.

The service remains dormant until initialize is called.

Implementation

factory NotificationService() {
  _instance ??= NotificationService._internal();
  return _instance!;
}