VoyagerPath.fromYaml constructor
VoyagerPath.fromYaml({
- required String path,
- required YamlMap config,
factory method for creating a single Voyager path instance from YamlMap
Implementation
factory VoyagerPath.fromYaml(
{required String path, required YamlMap config}) {
return VoyagerPath.fromMap(
path: path, config: json.decode(json.encode(config)));
}