close method
Must call this method after using this instance. This method will close the Timer and release any resources that this holds.
Implementation
@mustCallSuper
Future<void> close() async {
_timer?.cancel();
await _stream.close();
}
Must call this method after using this instance. This method will close the Timer and release any resources that this holds.
@mustCallSuper
Future<void> close() async {
_timer?.cancel();
await _stream.close();
}