toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final date = this.date;
final metric = this.metric;
final name = this.name;
final value = this.value;
return {'date': ?date, 'metric': ?metric, 'name': ?name, 'value': ?value};
}