You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							21 lines
						
					
					
						
							524 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							21 lines
						
					
					
						
							524 B
						
					
					
				
								import 'package:hadi_hoda_flutter/features/question/domain/entity/hadith_entity.dart';
							 | 
						|
								
							 | 
						|
								class HadithModel extends HadithEntity {
							 | 
						|
								  HadithModel({
							 | 
						|
								    super.id,
							 | 
						|
								    super.hadithText,
							 | 
						|
								    super.narratorName,
							 | 
						|
								    super.translation,
							 | 
						|
								    super.status,
							 | 
						|
								  });
							 | 
						|
								
							 | 
						|
								  factory HadithModel.fromJson(Map<String, dynamic> json) {
							 | 
						|
								    return HadithModel(
							 | 
						|
								      id: json['id'],
							 | 
						|
								      hadithText: json['hadith_text'],
							 | 
						|
								      narratorName: json['narrator_name'],
							 | 
						|
								      translation: json['translation'],
							 | 
						|
								      status: json['status'],
							 | 
						|
								    );
							 | 
						|
								  }
							 | 
						|
								}
							 |