toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "light_mode": lightMode.toJson(),
      "dark_mode": darkMode.toJson(),
    };