EasterEggsSettings.fromJson constructor

EasterEggsSettings.fromJson(
  1. 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;