Your phone's launcher simply uses a notification listener to support notification dots. If a notification is active for the app, it will display the dot. This functionality is not controlled by individual apps, and individual apps do not do anything to support these dots.