Kural.fromJson constructor

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

Implementation

factory Kural.fromJson(Map<String, dynamic> json) {
  return Kural(
    kuralNumber: json['kuralNumber'] as int?,
    kural: json['kural'] as String?,
    tamilSectionName: json['tamilSectionName'] as String?,
    englishSectionName: json['englishSectionName'] as String?,
    tamilChapterName: json['tamilChapterName'] as String?,
    englishChapterName: json['englishChapterName'] as String?,
    tamilExplanation: json['tamilExplanation'] as String?,
    englishExplanation: json['englishExplanation'] as String?,
  );
}