set_range method

Future<Online> set_range(
  1. AbstractSelector selector,
  2. String from,
  3. String to, {
  4. Duration? timeout = null,
  5. bool log = true,
})

Implementation

Future<Online> set_range(AbstractSelector selector, String from, String to,
    {Duration? timeout = null, bool log = true}) async {
  var Online = await this;
  if (log) Show.setting_range(selector.selector, from, to);
  await Online.set(selector, from, timeout: timeout, index: 0);
  await Online.set(selector, to, timeout: timeout, index: 1);
  return Online;
}