saveDeployment method

Future<bool> saveDeployment()

Save the deployment persistently to the local cache. Returns true if successful.

Implementation

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