EasterEggsSettings.fromJson constructor
- Json? json
Parses easter eggs settings from JSON.
Implementation
EasterEggsSettings.fromJson(Json? json) :
segaIntro = json?["segaIntro"] ?? true,
segaSound = json?["segaSound"] ?? true,
enableClippy = json?["enableClippy"] ?? true,
badApple = json?["badApple"] ?? true;