toJson method Null safety

Map<String, dynamic> toJson()

Serialize this DataPoint as a JSON map.

Implementation

Map<String, dynamic> toJson() => _$DataPointToJson(this);