You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			27 lines
		
	
	
		
			668 B
		
	
	
	
		
			Dart
		
	
			
		
		
	
	
			27 lines
		
	
	
		
			668 B
		
	
	
	
		
			Dart
		
	
| class ParentList {
 | |
|   ParentList({
 | |
|     required this.dbId,
 | |
|     required this.text,
 | |
|     required this.path,
 | |
|     required this.isSelected,
 | |
|   });
 | |
| 
 | |
|   int dbId;
 | |
|   String text;
 | |
|   String path;
 | |
|   bool isSelected;
 | |
| 
 | |
|   factory ParentList.fromJson(Map<String, dynamic> json) => ParentList(
 | |
|         dbId: json["dbId"] == null ? null : json["dbId"],
 | |
|         text: json["text"] == null ? null : json["text"],
 | |
|         path: json["path"] == null ? null : json["path"],
 | |
|         isSelected: false,
 | |
|       );
 | |
| 
 | |
|   Map<String, dynamic> toJson() => {
 | |
|         "dbId": dbId == null ? null : dbId,
 | |
|         "text": text == null ? null : text,
 | |
|         "path": path == null ? null : path,
 | |
|       };
 | |
| }
 |