CubeSeries.fromJson constructor

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

Implementation

factory CubeSeries.fromJson(Map<String, dynamic> json) {
  return CubeSeries(
    json['name'],
    json['index'],
    List.from(json['points'].map((e) => Point.fromJson(e))),
  );
}