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!;
}