TomlValue.from constructor
TomlValue.from(
- dynamic value
Converts the given value to a TOML value.
Throws a TomlUnknownValueTypeException when the given value cannot be encoded by TOML.
Implementation
factory TomlValue.from(dynamic value) => TomlAstBuilder().buildValue(value);