startGroup method
Implementation
Future<void> startGroup(String groupID, {bool syncOnStart = false}) async {
final groupState = state.group(groupID);
if (!groupState.autoSyncEnabled) return;
if (_timers[groupID] != null) {
if (syncOnStart) await syncGroup(groupID);
return;
}
_timers[groupID] =
Timer.periodic(every(groupID), (_) => syncGroup(groupID));
LOG.printInfo('$groupID: table sync timer started');
if (syncOnStart) await syncGroup(groupID);
}