BuildConfig class Null safety

Configuration for building static site.

Constructors

BuildConfig({bool? verbose, String? publicDir, String? contentDir, String? templatesDir, String? staticDir, String? dataDir, String? typesDir, bool? generateSearchIndex})
const
BuildConfig.fromYaml(YamlMap? map)
factory

Properties

contentDir String
Markdown content.
final
dataDir String
YAML/JSON data accessible for rendering
final
generateSearchIndex bool
Create public JSON search index when true.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
publicDir String
Folder with generated site files.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
staticDir String
Static assets like CSS or JS.
final
templatesDir String
Templates for rendering markdown files.
final
typesDir String
Types used for creating new content.
final
verbose bool
Enable debug prints.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toMap() Map<String, Object?>
toString() String
A string representation of this object. [...]
override

Operators

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