callRefresh method

Future<void> callRefresh({
  1. bool noAutoStart = false,
  2. bool allowInteractiveAuthorization = false,
})

Invokes org.freedesktop.UPower.Device.Refresh()

Implementation

Future<void> callRefresh({
  bool noAutoStart = false,
  bool allowInteractiveAuthorization = false,
}) async {
  await callMethod(
    'org.freedesktop.UPower.Device',
    'Refresh',
    [],
    replySignature: DBusSignature(''),
    noAutoStart: noAutoStart,
    allowInteractiveAuthorization: allowInteractiveAuthorization,
  );
}