ObservabilityConfigSpec class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
root
→ String
-
Top-level config namespace (e.g.
cache, session, storage).
no setteroverride
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
schema
→ Schema?
-
The JSON Schema for this configuration.
no setteroverride
Methods
-
defaults({ConfigSpecContext? context})
→ Map<String, dynamic>
-
Default values expressed as a map rooted at root.
inherited
-
defaultsWithRoot({ConfigSpecContext? context})
→ Map<String, dynamic>
-
Default values wrapped in the top-level root key.
inherited
-
docs({String? pathBase, ConfigSpecContext? context})
→ List<ConfigDocEntry>
-
Documentation entries for the spec, rooted at
pathBase or root.
inherited
-
fromMap(Map<String, dynamic> map, {ConfigSpecContext? context})
→ ObservabilityConfig
-
Parse a typed model from a config map scoped to the spec's root.
override
-
mergeDefaults(Map<String, dynamic> user, {ConfigSpecContext? context})
→ Map<String, dynamic>
-
Merge defaults with user-provided config, with user values winning.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(Config config, {ConfigSpecContext? context})
→ ObservabilityConfig
-
Resolve a typed model from the current
config.
inherited
-
schemaWithRoot()
→ Map<String, Schema>
-
Returns the schema wrapped in the root key.
inherited
-
toMap(ObservabilityConfig value)
→ Map<String, dynamic>
-
Convert a typed model into a config map scoped to the spec's root.
override
-
toString()
→ String
-
A string representation of this object.
inherited