reset method
void
reset()
Implementation
void reset() {
if (timer != null) {
timer!.cancel();
timer = null;
}
if (channel != null) {
channel!.sink.close();
channel = null;
}
}
void reset() {
if (timer != null) {
timer!.cancel();
timer = null;
}
if (channel != null) {
channel!.sink.close();
channel = null;
}
}