copyWith method
Creates a copy of this AyahWithSurah with the given fields replaced with new values
Implementation
@override
AyahWithSurah copyWith({
int? id,
String? text,
bool? sajdah,
int? juz,
int? hizb,
Surah? surah,
String? source,
}) {
return AyahWithSurah(
id: id ?? this.id,
text: text ?? this.text,
sajdah: sajdah ?? this.sajdah,
juz: juz ?? this.juz,
hizb: hizb ?? this.hizb,
surah: surah ?? this.surah,
source: source ?? this.source,
);
}