internal NotificationConfigOptions GetConfigWithGlobalConfigValues(NotificationGlobalConfigOptions notificationGlobalConfig)
 {
     Bottom ??= notificationGlobalConfig.Bottom;
     CloseIcon ??= notificationGlobalConfig.CloseIcon;
     Duration ??= notificationGlobalConfig.Duration;
     Placement ??= notificationGlobalConfig.Placement;
     Top ??= notificationGlobalConfig.Top;
     return(this);
 }
        internal double GetOptionsBottomDistance(NotificationGlobalConfigOptions notificationGlobalConfigOptions)
        {
            var notificationListItemFound = notificationList.FirstOrDefault(g => g.Options.Placement == NotificationPlacement.BottomLeft || g.Options.Placement == NotificationPlacement.BottomRight);

            if (notificationListItemFound != null)
            {
                return(notificationListItemFound.Options.Bottom.Value);
            }
            return(notificationGlobalConfigOptions.Bottom);
        }