SecretCollection constructor

SecretCollection(
  1. DBusClient client,
  2. String destination,
  3. DBusObjectPath path
)

Implementation

SecretCollection(DBusClient client, String destination, DBusObjectPath path)
  : super(client, name: destination, path: path) {
  itemCreated = DBusRemoteObjectSignalStream(
    object: this,
    interface: 'org.freedesktop.Secret.Collection',
    name: 'ItemCreated',
    signature: DBusSignature('o'),
  ).asBroadcastStream().map((signal) => SecretCollectionItemCreated(signal));

  itemDeleted = DBusRemoteObjectSignalStream(
    object: this,
    interface: 'org.freedesktop.Secret.Collection',
    name: 'ItemDeleted',
    signature: DBusSignature('o'),
  ).asBroadcastStream().map((signal) => SecretCollectionItemDeleted(signal));

  itemChanged = DBusRemoteObjectSignalStream(
    object: this,
    interface: 'org.freedesktop.Secret.Collection',
    name: 'ItemChanged',
    signature: DBusSignature('o'),
  ).asBroadcastStream().map((signal) => SecretCollectionItemChanged(signal));
}