Settings.fromJson constructor

Settings.fromJson(
  1. Json json
)

Initialize settings from Json.

Implementation

Settings.fromJson(Json json) :
  network = NetworkSettings.fromJson(json["network"]),
  easterEggs = EasterEggsSettings.fromJson(json["easterEggs"]),
  science = ScienceSettings.fromJson(json["science"]),
  arm = ArmSettings.fromJson(json["arm"]),
  dashboard = DashboardSettings.fromJson(json["dashboard"]);