restoreDeployment method

Future<bool> restoreDeployment()

Restore the deployment from a local cache. Returns true if successful.

Implementation

Future<bool> restoreDeployment() async => (studyDeploymentId != null)
    ? (deployment =
            await Persistence().restoreDeployment(studyDeploymentId!)) !=
        null
    : false;