QuranDataLoader class

Handles loading and parsing of Quran data from assets.

Constructors

QuranDataLoader.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

cachedData QuranData?
Get cached data without loading (returns null if not cached)
no setter
isDataCached bool
Check if data is cached
no setter

Static Methods

clearCache() → void
Clear cached data (useful for testing)
getLoadingStats() Future<DataLoadingStats>
Get data loading statistics
loadQuranData() Future<QuranData>
Load Quran data from assets
loadQuranDataFromFile(String filePath) Future<QuranData>
Load Quran data from a file (for testing or custom data sources)
validateQuranData(QuranData data) bool
Validate the loaded data structure