Config class abstract
An object describing the configuration of the web app.
- Implemented types
Constructors
- Config([void b(ConfigBuilder)?])
-
Creates a new Config object using the builder pattern.
factory
-
Config.fromJson(Map<
String, dynamic> json) -
Creates a new object from the given
json
data.factory
Properties
- folder → String?
-
The folder in the user's files that contains the recipes.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- printImage → bool?
-
True, if the user wished to print the recipe images with the rest of the recipes.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updateInterval → int?
-
The interval between automatic rescans to rebuild the database cache in minutes.
no setterinherited
- visibleInfoBlocks → VisibleInfoBlocks?
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(ConfigBuilder)) → Config -
Rebuilds the instance.
inherited
-
toBuilder(
) → ConfigBuilder -
Converts the instance to a builder
B
.inherited -
toJson(
) → Map< String, dynamic> - Parses this object into a json like map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
Config> -
Serializer for Config.
no setter