Configuration class
Class-annotation for defining configuration classes.
Configuration classes must have zero-argument constructors or constructors callable with zero arguments. All fields of the class must meet following type constraints:
- String, int, double, bool
- List(String, int, double, bool)
Constructors
- Configuration([String? path, Type? boundType])
-
const
Properties
- boundType → Type?
-
Defines a explicit type the configuration is bound to.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- path → String?
-
Path of this configuration class.
The path can be separated by using dots.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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