setServiceIntervalSeconds static method

Future<void> setServiceIntervalSeconds(
  1. 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]);
}