toMap method
Converts this compatibility summary to a map.
Implementation
Map<String, Object> toMap() {
return <String, Object>{
'overallScore': overallScore,
'overallLevel': overallLevel,
'powerRiskLevel': powerRiskLevel,
'networkRiskLevel': networkRiskLevel,
'mediaCapabilityLevel': mediaCapabilityLevel,
'cameraCapabilityLevel': cameraCapabilityLevel,
'displayCapabilityLevel': displayCapabilityLevel,
'recommendations': recommendations,
'warnings': warnings,
'generatedAtMillis': generatedAtMillis,
};
}