SearchZone enum

Enum representing different hadith type classifications. Used to filter hadiths by their category/nature rather than where to search.

Inheritance
Available extensions

Values

all → const SearchZone

All hadiths (no filter)

const SearchZone('*', 'جميع الأحاديث')
marfoo → const SearchZone

Marfoo hadiths (attributed to the Prophet ﷺ)

const SearchZone('0', 'الأحاديث المرفوعة')
qudsi → const SearchZone

Qudsi hadiths (sacred hadiths from Allah)

const SearchZone('1', 'الأحاديث القدسية')
sahabaAthar → const SearchZone

Athar (narrations from the Companions)

const SearchZone('2', 'آثار الصحابة')
sharh → const SearchZone

Sharh (explanations/commentaries on hadiths)

const SearchZone('3', 'شروح الأحاديث')

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
The ID/key used in API calls
final
index int
A numeric identifier for the enumerated value.
no setterinherited
label String
The Arabic label describing this hadith type
final
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toQueryParam() String
Convert to query parameter value
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromId(String id) SearchZone?
Lookup a SearchZone by its ID

Constants

values → const List<SearchZone>
A constant List of the values in this enum, in order of their declaration.