unregisterDevice method
Unregister the device with the specified deviceRoleName
for the study
deployment with studyDeploymentId
.
Returns null if studyDeploymentId
is not found.
Implementation
@override
Future<StudyDeploymentStatus> unregisterDevice(
String studyDeploymentId, String deviceRoleName) async =>
StudyDeploymentStatus.fromJson(
await _rpc(UnregisterDevice(studyDeploymentId, deviceRoleName)));