Settings class

Settings details.

Constructors

Settings({bool? autoStrideEnabled, String? distanceUnit, String? foodLanguageCode, String? glucoseUnit, String? heightUnit, String? languageLocale, String? name, String? strideLengthRunningType, String? strideLengthWalkingType, String? swimUnit, String? temperatureUnit, String? timeZone, String? utcOffset, String? waterUnit, String? weightUnit})
Settings.fromJson(Map json_)

Properties

autoStrideEnabled bool?
True if the user's stride length is determined automatically.
getter/setter pair
distanceUnit String?
The measurement unit defined in the user's account settings.
getter/setter pair
foodLanguageCode String?
The food language code derived from the user's food database.
getter/setter pair
glucoseUnit String?
The measurement unit defined in the user's account settings.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
heightUnit String?
The measurement unit defined in the user's account settings.
getter/setter pair
languageLocale String?
The locale defined in the user's account settings.
getter/setter pair
name String?
Identifier.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strideLengthRunningType String?
The stride length type defined in the user's account settings for running.
getter/setter pair
strideLengthWalkingType String?
The stride length type defined in the user's account settings for walking.
getter/setter pair
swimUnit String?
The measurement unit defined in the user's account settings.
getter/setter pair
temperatureUnit String?
The measurement unit defined in the user's account settings.
getter/setter pair
timeZone String?
The timezone defined in the user's account settings.
getter/setter pair
utcOffset String?
The user's timezone offset relative to UTC.
getter/setter pair
waterUnit String?
The measurement unit defined in the user's account settings.
getter/setter pair
weightUnit String?
The measurement unit defined in the user's account settings.
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