getDeviceDeployment method

Future<SmartphoneDeployment?> getDeviceDeployment(
  1. String studyDeploymentId
)

Returns the SmartphoneDeployment for studyDeploymentId for this phone (thisPhone), or null if the deployment is unknown.

Implementation

Future<SmartphoneDeployment?> getDeviceDeployment(String studyDeploymentId) async =>
    await getDeviceDeploymentFor(studyDeploymentId, thisPhone.roleName);