loadManifest method
Loads the stored ReleaseManifest.
Implementation
@override
FutureOr<ReleaseManifest?> loadManifest() {
var file = currentManifestFile;
if (!file.existsSync()) return null;
try {
var jsonEncoded = file.readAsStringSync();
var json = dart_convert.json.decode(jsonEncoded);
return ReleaseManifest.fromJson(json);
} catch (e, s) {
print('▒ Error loading manifest file: ${file.path}');
print(e);
print(s);
return null;
}
}