toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final description = this.description;
final details = this.details;
final displayValue = this.displayValue;
final errorMessage = this.errorMessage;
final explanation = this.explanation;
final id = this.id;
final metricSavings = this.metricSavings;
final numericUnit = this.numericUnit;
final numericValue = this.numericValue;
final score = this.score;
final scoreDisplayMode = this.scoreDisplayMode;
final title = this.title;
final warnings = this.warnings;
return {
'description': ?description,
'details': ?details,
'displayValue': ?displayValue,
'errorMessage': ?errorMessage,
'explanation': ?explanation,
'id': ?id,
'metricSavings': ?metricSavings,
'numericUnit': ?numericUnit,
'numericValue': ?numericValue,
'score': ?score,
'scoreDisplayMode': ?scoreDisplayMode,
'title': ?title,
'warnings': ?warnings,
};
}