content: // ignore_for_file: public_member_api_docs, sort_constructors_first
  enum EContentTypes { ayet, hadis, dua, radio, esmaulhusna }
  
  class ContentTypes {
    final EContentTypes type;
    final bool hidePlayButton;
    final bool hideShareButton;
    final bool hideBookmarkButton;
    ContentTypes({
      required this.type,
      required this.hidePlayButton,
      required this.hideShareButton,
      required this.hideBookmarkButton,
    });
  
    ContentTypes copyWith({
      EContentTypes? type,
      bool? hidePlayButton,
      bool? hideShareButton,
      bool? hideBookmarkButton,
    }) {
      return ContentTypes(
        type: type ?? this.type,
        hidePlayButton: hidePlayButton ?? this.hidePlayButton,
        hideShareButton: hideShareButton ?? this.hideShareButton,
        hideBookmarkButton: hideBookmarkButton ?? this.hideBookmarkButton,
      );
    }
  
    ContentTypes.ayahType()
        : type = EContentTypes.ayet,
          hidePlayButton = false,
          hideShareButton = false,
          hideBookmarkButton = false;
  
    ContentTypes.ayahTypeFavorite()
        : type = EContentTypes.ayet,
          hidePlayButton = true,
          hideShareButton = false,
          hideBookmarkButton = false;
  
    ContentTypes.hadithType()
        : type = EContentTypes.hadis,
          hidePlayButton = true,
          hideShareButton = false,
          hideBookmarkButton = false;
  
    ContentTypes.hadithTypeFavorite()
        : type = EContentTypes.hadis,
          hidePlayButton = true,
          hideShareButton = false,
          hideBookmarkButton = false;
  
    ContentTypes.radioType()
        : type = EContentTypes.radio,
          hidePlayButton = false,
          hideShareButton = true,
          hideBookmarkButton = true;
  
    ContentTypes.esmaulHusnaType()
        : type = EContentTypes.esmaulhusna,
          hidePlayButton = true,
          hideShareButton = true,
          hideBookmarkButton = true;
  
    ContentTypes.dualarType()
        : type = EContentTypes.dua,
          hidePlayButton = true,
          hideShareButton = false,
          hideBookmarkButton = false;
  
    ContentTypes.dualarTypeFavorite()
        : type = EContentTypes.dua,
          hidePlayButton = true,
          hideShareButton = false,
          hideBookmarkButton = false;
  }
  