setBrightness method
Set the keyboard backlight brightness level. The value is between 0 (off) and the value returned in getMaxBrightness.
Implementation
Future<void> setBrightness(int brightness) async {
await _object.callMethod('org.freedesktop.UPower.KbdBacklight',
'SetBrightness', [DBusInt32(brightness)],
replySignature: DBusSignature(''));
}