Surah class

Constructors

Surah({required int number, required String name, required String englishName, required String englishNameTranslation, required RevelationType revelationType, required int verse, required int words, required int chars, required List<Ayat> ayahs})
Surah.fromJson(Map<String, dynamic> json)
factory
Surah.fromRawJson(String str)
factory

Properties

ayahs List<Ayat>
final
chars int
final
englishName String
final
englishNameTranslation String
final
hashCode int
The hash code for this object.
no setterinherited
name String
final
number int
final
revelationType → RevelationType
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
verse int
final
words int
final

Methods

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

Operators

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