UserPrefModel constructor

UserPrefModel(
  1. {required String selectedTheme,
  2. bool showConsole = false,
  3. String profileId = "",
  4. int totalScoutedMatches = 0,
  5. bool showGameMap = true,
  6. bool showLegacyItems = false,
  7. bool useAltLayout = false,
  8. bool seenPatchNotes = false,
  9. bool profileArmed = false,
  10. String profileName = "Unspecified User",
  11. double usedTimeHours = 0,
  12. bool preferCompact = false,
  13. bool showScrollbar = false,
  14. bool preferTonal = true,
  15. bool showHints = true,
  16. bool preferCanonical = true,
  17. bool showFPSMonitor = false,
  18. bool showExperimental = false}
)

Implementation

UserPrefModel(
    {required this.selectedTheme,
    this.showConsole = false,
    this.profileId = "",
    this.totalScoutedMatches = 0,
    this.showGameMap = true,
    this.showLegacyItems = false,
    this.useAltLayout = false,
    this.seenPatchNotes = false,
    this.profileArmed = false,
    this.profileName = "Unspecified User",
    this.usedTimeHours = 0,
    this.preferCompact = false,
    this.showScrollbar = false,
    this.preferTonal = true,
    this.showHints = true,
    this.preferCanonical = true,
    this.showFPSMonitor = false,
    this.showExperimental = false});