Chapter class abstract

Annotations
  • @freezed

Constructors

Chapter({@Default.new(0) int id, @Default.new(false) bool bismillahPre, @Default.new("") String nameArabic, @Default.new("") String nameComplex, @Default.new("") String nameSimple, @Default.new([]) List<int> pages, @Default.new(0) int revelationOrder, @Default.new(ChapterRevelationPlace.makkah) ChapterRevelationPlace revelationPlace, @Default.new({}) ChapterTranslatedName translatedName, @Default.new(0) int versesCount})
factory
Chapter.fromJson(Map<String, dynamic> json)
factory

Properties

bismillahPre → bool
no setterinherited
copyWith → $ChapterCopyWith<Chapter>
Create a copy of Chapter with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
id → int
no setterinherited
nameArabic → String
no setterinherited
nameComplex → String
no setterinherited
nameSimple → String
no setterinherited
pages → List<int>
no setterinherited
revelationOrder → int
no setterinherited
revelationPlace → ChapterRevelationPlace
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
translatedName → ChapterTranslatedName
no setterinherited
versesCount → int
no setterinherited

Methods

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

Operators

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