TomlMapBuilder class
A visitor for TomlExpressions that builds a Map from a TOML document.
- Mixed in types
Constructors
- TomlMapBuilder()
-
Creates a map builder for the top-level table.
factory
- TomlMapBuilder.withPrefix(TomlKey prefix)
- Creates a map builder for the table with the given name.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
) → Map< String, dynamic> - Builds the map for the visited AST nodes.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
visitArrayTable(
TomlArrayTable table) → void -
Visits the given array of tables header.
override
-
visitExpression(
TomlExpression expression) → void -
Visits the given
expression
.inherited -
visitKeyValuePair(
TomlKeyValuePair pair) → void -
Visits the given key/value pair.
override
-
visitStandardTable(
TomlStandardTable table) → void -
Visits the given standard table header.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited