copyWith method

AyahRangeInfo copyWith({
  1. int? start,
  2. int? end,
  3. int? count,
})

Creates a copy of this AyahRangeInfo with the given fields replaced with new values

Implementation

AyahRangeInfo copyWith({
  int? start,
  int? end,
  int? count,
}) {
  return AyahRangeInfo(
    start: start ?? this.start,
    end: end ?? this.end,
    count: count ?? this.count,
  );
}