errors.add('Expected "libraries" key in the $i element of "${kvp.key}" to be a list, but got ${kvp.value[i]['libraries']} (${kvp.value[i]['libraries'].runtimeType}).');
if(librariesis!YamlList){
errors.add('Expected "libraries" key in the $i element of "${kvp.key}" to be a list, but got $libraries (${libraries.runtimeType}).');
}else{
}else{
_validateListType<String>(kvp.value[i]['libraries']asYamlList,errors,'"libraries" key in the $i element of "${kvp.key}"','dart library Strings');
_validateListType<String>(libraries,errors,'"libraries" key in the $i element of "${kvp.key}"','dart library Strings');
errors.add('Expected "assets" key in the $i element of "${kvp.key}" to be a list, but got ${kvp.value[i]['assets']} (${kvp.value[i]['assets'].runtimeType}).');
if(assetsis!YamlList){
errors.add('Expected "assets" key in the $i element of "${kvp.key}" to be a list, but got $assets (${assets.runtimeType}).');
}else{
}else{
_validateListType<String>(kvp.value[i]['assets']asYamlList,errors,'"assets" key in the $i element of "${kvp.key}"','file paths');
_validateListType<String>(assets,errors,'"assets" key in the $i element of "${kvp.key}"','file paths');