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.
		
		
		
		
		
			
		
			
	
	
		
			64 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			Dart
		
	
		
		
			
		
	
	
			64 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			Dart
		
	
| 
								 
											1 year ago
										 
									 | 
							
								class DashboardCount {
							 | 
						||
| 
								 
											1 year ago
										 
									 | 
							
								  Data? data;
							 | 
						||
| 
								 | 
							
								  String? message;
							 | 
						||
| 
								 | 
							
								  String? title;
							 | 
						||
| 
								 | 
							
								  String? innerMessage;
							 | 
						||
| 
								 | 
							
								  int? responseCode;
							 | 
						||
| 
								 | 
							
								  bool? isSuccess;
							 | 
						||
| 
								 
											1 year ago
										 
									 | 
							
								
							 | 
						||
| 
								 
											1 year ago
										 
									 | 
							
								  DashboardCount({this.data, this.message, this.title, this.innerMessage, this.responseCode, this.isSuccess});
							 | 
						||
| 
								 
											1 year ago
										 
									 | 
							
								
							 | 
						||
| 
								 | 
							
								  DashboardCount.fromJson(Map<String, dynamic> json) {
							 | 
						||
| 
								 
											1 year ago
										 
									 | 
							
								    data = json['data'] != null ? Data.fromJson(json['data']) : null;
							 | 
						||
| 
								 
											1 year ago
										 
									 | 
							
								    message = json['message'];
							 | 
						||
| 
								 | 
							
								    title = json['title'];
							 | 
						||
| 
								 | 
							
								    innerMessage = json['innerMessage'];
							 | 
						||
| 
								 | 
							
								    responseCode = json['responseCode'];
							 | 
						||
| 
								 | 
							
								    isSuccess = json['isSuccess'];
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  Map<String, dynamic> toJson() {
							 | 
						||
| 
								 | 
							
								    final Map<String, dynamic> data = <String, dynamic>{};
							 | 
						||
| 
								 | 
							
								    if (this.data != null) {
							 | 
						||
| 
								 
											1 year ago
										 
									 | 
							
								      data['data'] = this.data!.toJson();
							 | 
						||
| 
								 
											1 year ago
										 
									 | 
							
								    }
							 | 
						||
| 
								 | 
							
								    data['message'] = message;
							 | 
						||
| 
								 | 
							
								    data['title'] = title;
							 | 
						||
| 
								 | 
							
								    data['innerMessage'] = innerMessage;
							 | 
						||
| 
								 | 
							
								    data['responseCode'] = responseCode;
							 | 
						||
| 
								 | 
							
								    data['isSuccess'] = isSuccess;
							 | 
						||
| 
								 | 
							
								    return data;
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								class Data {
							 | 
						||
| 
								 
											1 year ago
										 
									 | 
							
								  int? countOpen;
							 | 
						||
| 
								 | 
							
								  int? countInprogress;
							 | 
						||
| 
								 | 
							
								  int? countComplete;
							 | 
						||
| 
								 | 
							
								  int? countAcknowledge;
							 | 
						||
| 
								 | 
							
								  int? countHighPriority;
							 | 
						||
| 
								 | 
							
								  int? countOverdue;
							 | 
						||
| 
								 
											1 year ago
										 
									 | 
							
								
							 | 
						||
| 
								 
											1 year ago
										 
									 | 
							
								  Data({this.countOpen, this.countInprogress, this.countComplete, this.countAcknowledge, this.countHighPriority, this.countOverdue});
							 | 
						||
| 
								 
											1 year ago
										 
									 | 
							
								
							 | 
						||
| 
								 | 
							
								  Data.fromJson(Map<String, dynamic> json) {
							 | 
						||
| 
								 
											1 year ago
										 
									 | 
							
								    countOpen = json['countOpen'] ?? 0;
							 | 
						||
| 
								 | 
							
								    countInprogress = json['countInprogress'] ?? 0;
							 | 
						||
| 
								 | 
							
								    countComplete = json['countComplete'] ?? 0;
							 | 
						||
| 
								 | 
							
								    countAcknowledge = json['countAcknowledge'] ?? 0;
							 | 
						||
| 
								 | 
							
								    countHighPriority = json['countHighPriority'] ?? 0;
							 | 
						||
| 
								 | 
							
								    countOverdue = json['countOverdue'] ?? 0;
							 | 
						||
| 
								 
											1 year ago
										 
									 | 
							
								  }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  Map<String, dynamic> toJson() {
							 | 
						||
| 
								 | 
							
								    final Map<String, dynamic> data = <String, dynamic>{};
							 | 
						||
| 
								 | 
							
								    data['countOpen'] = countOpen;
							 | 
						||
| 
								 | 
							
								    data['countInprogress'] = countInprogress;
							 | 
						||
| 
								 | 
							
								    data['countComplete'] = countComplete;
							 | 
						||
| 
								 | 
							
								    data['countAcknowledge'] = countAcknowledge;
							 | 
						||
| 
								 | 
							
								    data['countHighPriority'] = countHighPriority;
							 | 
						||
| 
								 | 
							
								    data['countOverdue'] = countOverdue;
							 | 
						||
| 
								 | 
							
								    return data;
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 
											1 year ago
										 
									 | 
							
								}
							 |