timerData method
Implementation
String timerData() {
if (isShowConnectedTime) {
_coreWatch.start();
Timer.periodic(const Duration(seconds: 1), (Timer t) => _getTime());
}
return _timeString.value;
}
String timerData() {
if (isShowConnectedTime) {
_coreWatch.start();
Timer.periodic(const Duration(seconds: 1), (Timer t) => _getTime());
}
return _timeString.value;
}