引数のアセットパスからyamlを読み込み YamlMap(package:yaml/yaml)形式で返す
Future<YamlMap> loadYml(String assetPath) async { final text = await loadText(assetPath); final yamlMap = loadYaml(text) as YamlMap; return yamlMap; }