fromJson static method
Implementation
static CatalogSummary fromJson(Map<String, dynamic> json) {
return CatalogSummary(
totalKeys: int.tryParse(json['totalKeys']?.toString() ?? '') ?? 0,
greenCount: int.tryParse(json['greenCount']?.toString() ?? '') ?? 0,
warningCount: int.tryParse(json['warningCount']?.toString() ?? '') ?? 0,
redCount: int.tryParse(json['redCount']?.toString() ?? '') ?? 0,
greenRows: int.tryParse(json['greenRows']?.toString() ?? '') ?? 0,
warningRows: int.tryParse(json['warningRows']?.toString() ?? '') ?? 0,
redRows: int.tryParse(json['redRows']?.toString() ?? '') ?? 0,
);
}