copyWith method
Creates a copy of this AyahRange with the given fields replaced with new values
Implementation
AyahRange copyWith({
Surah? surah,
AyahRangeInfo? range,
List<Ayah>? ayat,
String? source,
}) {
return AyahRange(
surah: surah ?? this.surah,
range: range ?? this.range,
ayat: ayat ?? this.ayat,
source: source ?? this.source,
);
}