getContent method
Loads the content of pubspec.yaml
in current directory,
this methods must be called before any other method.
Implementation
Future<JsonMap> getContent() async {
content ??= await readYamlMap(filePath).then((map) => map.toJsonMap());
return content!;
}