callSetTimezone method

Future<void> callSetTimezone(
  1. String timezone,
  2. bool interactive, {
  3. bool noAutoStart = false,
  4. bool allowInteractiveAuthorization = false,
})

Invokes org.freedesktop.timedate1.SetTimezone()

Implementation

Future<void> callSetTimezone(
  String timezone,
  bool interactive, {
  bool noAutoStart = false,
  bool allowInteractiveAuthorization = false,
}) async {
  await callMethod(
    'org.freedesktop.timedate1',
    'SetTimezone',
    [DBusString(timezone), DBusBoolean(interactive)],
    replySignature: DBusSignature(''),
    noAutoStart: noAutoStart,
    allowInteractiveAuthorization: allowInteractiveAuthorization,
  );
}