stop method

Future<void> stop()

Stop all studies in this client manager.

Implementation

Future<void> stop() async {
  for (var studyDeploymentId in repository.keys) {
    await getStudyRuntime(studyDeploymentId)?.stop();
  }
  _state = ClientManagerState.stopped;
}