ScienceSettings.fromJson constructor

ScienceSettings.fromJson(
  1. Json? json
)

Parses a ScienceSettings from JSON.

Implementation

ScienceSettings.fromJson(Json? json) :
  numSamples = json?["numSamples"] ?? 3,
  scrollableGraphs = json?["scrollableGraphs"] ?? false;