DataPoint.fromJson constructor Null safety

DataPoint.fromJson(
  1. Map<String, dynamic> json
)

Create a DataPoint from a JSON map.

Implementation

factory DataPoint.fromJson(Map<String, dynamic> json) =>
    _$DataPointFromJson(json);