TranslationModel class

Constructors

TranslationModel({required String surahAyah, required String text, Map<String, String> footnotes = const {}})
TranslationModel.fromJson(String key, Map<String, dynamic> json)
factory

Properties

ayahNumber int
no setter
cleanText String
no setter
footnoteNumbers List<String>
no setter
footnotes Map<String, String>
final
hashCode int
The hash code for this object.
no setterinherited
orderedFootnotes List<MapEntry<String, String>>
no setter
orderedFootnotesWithNumbers List<MapEntry<int, MapEntry<String, String>>>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
surahAyah String
final
surahNumber int
no setter
text String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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