UserSettings class
Constructors
-
UserSettings({required int id, required UserData userData, required UserSleep userSleep, String? connectDate, String? sourceType, List<
UserSleepWindow> ? userSleepWindows}) -
UserSettings.fromJson(Map<
String, dynamic> json) -
factory
Properties
- connectDate → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceType → String?
-
final
- userData → UserData
-
final
- userSleep → UserSleep
-
final
-
userSleepWindows
→ List<
UserSleepWindow> ? -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
get(
{GarthClient? client}) → Future< UserSettings>