SingleChapterData.fromJson constructor Null safety
Implementation
SingleChapterData.fromJson(Map<String, dynamic> json) {
result = json['result'] ?? '';
data = Data.fromJson(json['data']);
}
SingleChapterData.fromJson(Map<String, dynamic> json) {
result = json['result'] ?? '';
data = Data.fromJson(json['data']);
}