setServiceIntervalSeconds static method
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]);
}