emitPropertiesChanged method
Future<void>
emitPropertiesChanged(
- String interface, {
- Map<
String, DBusValue> changedProperties = const {}, - List<
String> invalidatedProperties = const [],
inherited
Emits org.freedesktop.DBus.Properties.PropertiesChanged on this object.
Implementation
Future<void> emitPropertiesChanged(String interface,
{Map<String, DBusValue> changedProperties = const {},
List<String> invalidatedProperties = const []}) async {
await emitSignal('org.freedesktop.DBus.Properties', 'PropertiesChanged', [
DBusString(interface),
DBusDict.stringVariant(changedProperties),
DBusArray(DBusSignature('s'),
invalidatedProperties.map((name) => DBusString(name)))
]);
}