public static double ToSecondInterval(this NotificationRepeat t)
        {
            TimeSpan ts = t.ToTimeSpanInterval();

            Debug.Log($"Set notification repeat / NotificationRepeat = {t} TotalSeconds = {ts.TotalSeconds}");
            return(ts.TotalSeconds);
        }
        protected override T PrepareContent <T> (NotificationModel model)
        {
            NotificationLocal  local = GetLocal(model.locals);
            NotificationRepeat nr    = NotificationsHelper.GetRepeatType(model);
            var n = new AndroidNotification
            {
                Title               = local.title,
                Text                = local.body,
                ShowTimestamp       = true,
                Color               = Color.red,
                ShouldAutoCancel    = true,
                Group               = GroupId,
                GroupSummary        = true,
                GroupAlertBehaviour = GroupAlertBehaviours.GroupAlertAll
            };

            if (nr != NotificationRepeat.None)
            {
                n.RepeatInterval = nr.ToTimeSpanInterval();
            }

            return((T)(object)n);
        }