UserPrefModel class
- Annotations
-
- @JsonSerializable(ignoreUnannotated: true, checked: true)
Constructors
- 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})
-
UserPrefModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- preferCanonical ↔ bool
-
getter/setter pair
- preferCompact ↔ bool
-
getter/setter pair
- preferTonal ↔ bool
-
getter/setter pair
- profileArmed ↔ bool
-
getter/setter pair
- profileId ↔ String
-
getter/setter pair
- profileName ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seenPatchNotes ↔ bool
-
getter/setter pair
- selectedTheme ↔ String
-
getter/setter pair
- showConsole ↔ bool
-
getter/setter pair
- showExperimental ↔ bool
-
getter/setter pair
- showFPSMonitor ↔ bool
-
getter/setter pair
- showGameMap ↔ bool
-
getter/setter pair
- showHints ↔ bool
-
getter/setter pair
- showLegacyItems ↔ bool
-
getter/setter pair
- showScrollbar ↔ bool
-
getter/setter pair
- totalScoutedMatches ↔ int
-
getter/setter pair
- useAltLayout ↔ bool
-
getter/setter pair
- usedTimeHours ↔ double
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- defaultModel → UserPrefModel
-
final