loadSync static method
Synchronously loads the file with the given name and parses the contents as a TOML document.
Throws a ParserException
if there is a syntax error.
This method is not supported on the web.
Implementation
static TomlDocument loadSync(String filename) =>
parse(loadFileSync(filename));