setServiceIntervalSeconds static method
- int intervalSeconds
set the execution period for the service function (get/setServiceFunction) period is "minimum/best-effort" - will try to space executions with an interval that's at least this long
Implementation
static Future<void> setServiceIntervalSeconds(int intervalSeconds) async {
await _invokeMainChannel(
"setServiceFunctionInterval", <dynamic>[intervalSeconds]);
}