restart method

  1. @nonVirtual
void restart()
inherited

Restart sampling of the measures using this device.

This entails that all measures in the study protocol using this device's type is restarted. This method is useful after the device is connected.

Implementation

@nonVirtual
void restart() {
  info('$runtimeType - Restarting sampling...');

  for (var executor in executors) {
    executor.restart();
  }
}