deactivate method
Implementation
Future<void> deactivate() async {
if (testController != null) {
state.active = false;
await _commandSubscription?.cancel();
_commandSubscription = null;
await communicator!.deactivate();
}
}
Future<void> deactivate() async {
if (testController != null) {
state.active = false;
await _commandSubscription?.cancel();
_commandSubscription = null;
await communicator!.deactivate();
}
}