Configuration.loadFromString constructor
Parses configuration from YAML formatted content.
If global is true, this restricts the configuration to rules that are
supported globally.
If sourceUrl is provided it will be set as the source url for the yaml
document.
Throws a FormatException if the content is invalid.
Implementation
factory Configuration.loadFromString(
String content, {
bool global = false,
Uri? sourceUrl,
}) => parse(content, global: global, sourceUrl: sourceUrl);