UserPreferences class
- Annotations
-
- @freezed
Constructors
- UserPreferences({bool? dark, bool? transp, String? bgImg, bool? is3d, Theme? theme, PieceSet? pieceSet, Theme3d? theme3d, PieceSet3d? pieceSet3d, String? soundSet, int? blindfold, int? autoQueen, int? autoThreefold, int? takeback, int? moretime, int? clockTenths, bool? clockBar, bool? clockSound, bool? premove, int? animation, bool? captured, bool? follow, bool? highlight, bool? destination, int? coords, int? replay, int? challenge, int? message, int? coordColor, int? submitMove, int? confirmResign, int? keyboardMove, int? zen, int? moveEvent, int? rookCastle, String? language})
-
constfactory
-
UserPreferences.fromJson(Map<
String, dynamic> json) -
factory
Properties
- animation → int?
-
no setterinherited
- autoQueen → int?
-
no setterinherited
- autoThreefold → int?
-
no setterinherited
- bgImg → String?
-
no setterinherited
- blindfold → int?
-
no setterinherited
- captured → bool?
-
no setterinherited
- challenge → int?
-
no setterinherited
- clockBar → bool?
-
no setterinherited
- clockSound → bool?
-
no setterinherited
- clockTenths → int?
-
no setterinherited
- confirmResign → int?
-
no setterinherited
- coordColor → int?
-
no setterinherited
- coords → int?
-
no setterinherited
-
copyWith
→ $UserPreferencesCopyWith<
UserPreferences> -
no setterinherited
- dark → bool?
-
no setterinherited
- destination → bool?
-
no setterinherited
- follow → bool?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- highlight → bool?
-
no setterinherited
-
no setterinherited
- is3d → bool?
-
no setterinherited
- keyboardMove → int?
-
no setterinherited
- language → String?
-
no setterinherited
- message → int?
-
no setterinherited
- moretime → int?
-
no setterinherited
- moveEvent → int?
-
no setterinherited
- pieceSet → PieceSet?
-
no setterinherited
- pieceSet3d → PieceSet3d?
-
no setterinherited
- premove → bool?
-
no setterinherited
- replay → int?
-
no setterinherited
- rookCastle → int?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- soundSet → String?
-
no setterinherited
- submitMove → int?
-
no setterinherited
- takeback → int?
-
no setterinherited
- theme → Theme?
-
no setterinherited
- theme3d → Theme3d?
-
no setterinherited
- transp → bool?
-
no setterinherited
- zen → int?
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited