UserPrefModel constructor
UserPrefModel(- {required String selectedTheme,
- bool showConsole = false,
- String profileId = "",
- int totalScoutedMatches = 0,
- bool showGameMap = true,
- bool showLegacyItems = false,
- bool useAltLayout = false,
- bool seenPatchNotes = false,
- bool profileArmed = false,
- String profileName = "Unspecified User",
- double usedTimeHours = 0,
- bool preferCompact = false,
- bool showScrollbar = false,
- bool preferTonal = true,
- bool showHints = true,
- bool preferCanonical = true,
- bool showFPSMonitor = false,
- 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});