initializeDevices method

  1. @override
void initializeDevices(
  1. MasterDeviceDeployment masterDeviceDeployment
)
override

Initialize all devices in a masterDeviceDeployment.

Implementation

@override
void initializeDevices(MasterDeviceDeployment masterDeviceDeployment) {
  // first initialize the master device (i.e. this phone)
  initializeDevice(masterDeviceDeployment.deviceDescriptor);
  // and then initialize all the connected devices (if any)
  for (var descriptor in masterDeviceDeployment.connectedDevices) {
    initializeDevice(descriptor);
  }
}