QuranCountingSystem enum
Supported canonical Quranic verse-numbering traditions (مدارس عد الآي).
Values
- kufi → const QuranCountingSystem
-
const QuranCountingSystem('kufi', 'الكوفي', 6236) - madaniLast → const QuranCountingSystem
-
const QuranCountingSystem('madani-last', 'المدني الأخير', 6214) - madaniFirst → const QuranCountingSystem
-
const QuranCountingSystem('madani-first', 'المدني الأول', 6214) - makki → const QuranCountingSystem
-
const QuranCountingSystem('makki', 'المكي', 6219) - basri → const QuranCountingSystem
-
const QuranCountingSystem('basri', 'البصري', 6204) - dimashqi → const QuranCountingSystem
-
const QuranCountingSystem('dimashqi', 'الدمشقي', 6226)
Properties
- arabicName → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- 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
- totalAyahs → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromId(
String id) → QuranCountingSystem - Resolves counting system from identifier string with fallback to Kufi.
-
fromQiraa(
QuranQiraa qiraa) → QuranCountingSystem - Resolves counting system directly from a strongly-typed QuranQiraa.
-
fromRawi(
QuranRiwayah rawi) → QuranCountingSystem - Resolves counting system from a QuranRawi.
-
fromRawiOrQiraa(
dynamic input) → QuranCountingSystem - Universal lookup accepting QuranRiwayah, QuranQiraa, QuranCountingSystem, or string.
-
fromRiwayah(
QuranRiwayah riwayah) → QuranCountingSystem - Resolves counting system directly from a strongly-typed QuranRiwayah.
Constants
-
values
→ const List<
QuranCountingSystem> - A constant List of the values in this enum, in order of their declaration.