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.
		
		
		
		
		
			
		
			
				
	
	
		
			32 lines
		
	
	
		
			712 B
		
	
	
	
		
			Dart
		
	
			
		
		
	
	
			32 lines
		
	
	
		
			712 B
		
	
	
	
		
			Dart
		
	
class Enums {
 | 
						|
  int id;
 | 
						|
  int enumTypeId;
 | 
						|
  String enumValueStr;
 | 
						|
  int enumValue;
 | 
						|
  bool isActive;
 | 
						|
 | 
						|
  Enums({
 | 
						|
    required this.id,
 | 
						|
    required this.enumTypeId,
 | 
						|
    required this.enumValueStr,
 | 
						|
    required this.enumValue,
 | 
						|
    required this.isActive,
 | 
						|
  });
 | 
						|
 | 
						|
  factory Enums.fromJson(Map<String, dynamic> json) => Enums(
 | 
						|
        id: json["id"],
 | 
						|
        enumTypeId: json["enumTypeID"],
 | 
						|
        enumValueStr: json["enumValueStr"],
 | 
						|
        enumValue: json["enumValue"],
 | 
						|
        isActive: json["isActive"],
 | 
						|
      );
 | 
						|
 | 
						|
  Map<String, dynamic> toJson() => {
 | 
						|
        "id": id,
 | 
						|
        "enumTypeID": enumTypeId,
 | 
						|
        "enumValueStr": enumValueStr,
 | 
						|
        "enumValue": enumValue,
 | 
						|
        "isActive": isActive,
 | 
						|
      };
 | 
						|
}
 |