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.
		
		
		
		
		
			
		
			
				
					
					
						
							22 lines
						
					
					
						
							569 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							22 lines
						
					
					
						
							569 B
						
					
					
				| import 'package:hadi_hoda_flutter/core/status/base_status.dart'; | |
| import 'package:hadi_hoda_flutter/features/level/domain/entity/level_entity.dart'; | |
| 
 | |
| class LevelState { | |
|   final BaseStatus getLevelStatus; | |
|   final LevelEntity? chooseLevel; | |
| 
 | |
|   const LevelState({ | |
|     this.getLevelStatus = const BaseInit(), | |
|     this.chooseLevel, | |
|   }); | |
| 
 | |
|   LevelState copyWith({ | |
|     BaseStatus? getLevelStatus, | |
|     LevelEntity? chooseLevel, | |
|   }) { | |
|     return LevelState( | |
|       getLevelStatus: getLevelStatus ?? this.getLevelStatus, | |
|       chooseLevel: chooseLevel ?? chooseLevel, | |
|     ); | |
|   } | |
| }
 |