validate method
Fetch the ManUp json file (after which settings can be retrieved using setting) and return the calculated status.
Implementation
Future<ManUpStatus> validate([Metadata? metadata]) async {
delegate?.manUpConfigUpdateStarting();
try {
ManUpStatus status = await _validate(metadata);
this._handleManUpStatus(status);
return status;
} catch (e) {
this._handleManUpStatus(ManUpStatus.error);
rethrow;
} finally {
await _storeManUpFile();
}
}