  A `class` that detects changes in screen brightness.
  */
 public class ScreenBrightness {
-    
+
     /**
      A delegate that conforms to `ScreenBrightnessMonitoring` protocol.
      */
     public weak var delegate: ScreenBrightnessMonitoring?
-    
+
     /**
      Returns screen brightness value.
      - important: Returned value is between 0 and 1.

// MARK: - ScreenBrightnessMonitoring

extension ScreenBrightness: ScreenBrightnessMonitoring {
    
    func subscribeToNotifications() {
        let center = self.notificationCenter
        center.addObserver(self,

                           name: UIScreenBrightnessDidChangeNotification,
                           object: nil)
    }

    @objc func onScreenBrightnessDidChange() {
        self.screenBrightnessDidChange()
    }

    /**
     Called when a `brightness` of device screen changes.
     */
