TemplatesConfig class Null safety

Configures default behavior for template selection.

page and section values are only used when the frontmatter's template is not specified.

Constructors

TemplatesConfig({String? page, String? section})
const
TemplatesConfig.fromYaml(YamlMap? map)
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
page String
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
section String
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