ConfigDefaults class

Combined defaults and documentation returned by ProvidesDefaultConfig.

Constructors

ConfigDefaults({List<ConfigDocEntry> docs = const <ConfigDocEntry>[], Map<String, dynamic>? values, Map<String, Schema> schemas = const {}})
const

Properties

docs List<ConfigDocEntry>
Documentation entries describing configuration fields.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schemas Map<String, Schema>
The JSON Schemas for this configuration, keyed by root path.
no setter
values Map<String, dynamic>
Default configuration values keyed by dotted path.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
snapshot() ConfigDefaultsSnapshot
Produces a snapshot containing both values and documentation in one pass.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited