Configuration class
Model class for Home Assistant configuration.
Constructors
-
Configuration({double? latitude, double? longitude, double? elevation, Map<
String, String> ? unitSystem, String? locationName, String? timeZone, List<String> ? components, String? configDir, List<String> ? whitelistExternalDirs, List<String> ? allowlistExternalDirs, List<String> ? allowlistExternalUrls, String? version, String? configSource, bool? safeMode, String? state, String? externalUrl, String? internalUrl, String? currency, String? country, String? language}) -
Configuration.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
allowlistExternalDirs
→ List<
String> ? -
final
-
allowlistExternalUrls
→ List<
String> ? -
final
-
components
→ List<
String> ? -
final
- configDir → String?
-
final
- configSource → String?
-
final
- country → String?
-
final
- currency → String?
-
final
- elevation → double?
-
final
- externalUrl → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- internalUrl → String?
-
final
- language → String?
-
final
- latitude → double?
-
final
- locationName → String?
-
final
- longitude → double?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- safeMode → bool?
-
final
- state → String?
-
final
- timeZone → String?
-
final
-
unitSystem
→ Map<
String, String> ? -
final
- version → String?
-
final
-
whitelistExternalDirs
→ List<
String> ? -
final
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