getMaxBrightness method
Get the maximum keyboard backlight brightness level.
Implementation
Future<int> getMaxBrightness() async {
var result = await _object.callMethod(
'org.freedesktop.UPower.KbdBacklight', 'GetMaxBrightness', [],
replySignature: DBusSignature('i'));
return (result.returnValues[0] as DBusInt32).value;
}