ScienceSettings.fromJson constructor
- Json? json
Parses a ScienceSettings from JSON.
Implementation
ScienceSettings.fromJson(Json? json) :
numSamples = json?["numSamples"] ?? 3,
scrollableGraphs = json?["scrollableGraphs"] ?? false;
Parses a ScienceSettings from JSON.
ScienceSettings.fromJson(Json? json) :
numSamples = json?["numSamples"] ?? 3,
scrollableGraphs = json?["scrollableGraphs"] ?? false;