Verse class abstract

Annotations
  • @freezed

Constructors

Verse({@Default.new(0) int id, @Default.new("") String verseKey, @Default.new("") String text, @Default.new(0) int chapterID, @Default.new(0) int pageNumber, @Default.new(0) int juzNumber})
factory
Verse.fromJson(Map<String, dynamic> json)
factory

Properties

chapterID int
no setterinherited
copyWith → $VerseCopyWith<Verse>
Create a copy of Verse 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
juzNumber int
no setterinherited
pageNumber int
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
no setterinherited
verseKey String
no setterinherited

Methods

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

Operators

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