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