AyahRangeInfo.fromJson constructor

AyahRangeInfo.fromJson(
  1. Map<String, dynamic> json
)

Creates an AyahRangeInfo from JSON data

Implementation

factory AyahRangeInfo.fromJson(Map<String, dynamic> json) {
  return AyahRangeInfo(
    start: json['start'] as int,
    end: json['end'] as int,
    count: json['count'] as int,
  );
}