stopEcgAcquisition method
override
ECGの取得を停止
Implementation
@override
Future<void> stopEcgAcquisition() async {
// ECGの取得が開始されていない場合
if (state.isEcgAcquisitionStarted == false) {
return;
}
// ECGの取得を停止
await _ecgStreamSubscription?.cancel();
state = state.copyWith(isEcgAcquisitionStarted: false);
}