tryRegisterRemainingDevicesToRegister method

Future<void> tryRegisterRemainingDevicesToRegister()
inherited

Tries to register the connected devices which still need to be registered in the deploymentService.

This is a convenient method for synchronizing the devices needed for a deployment and the available devices on this phone.

Implementation

Future<void> tryRegisterRemainingDevicesToRegister() async {
  for (var device in remainingDevicesToRegister) {
    await tryRegisterConnectedDevice(device);
  }
}