SecretService constructor
SecretService(
- DBusClient client,
- String destination, {
- DBusObjectPath path = const DBusObjectPath.unchecked('/org/freedesktop/secrets'),
Implementation
SecretService(
DBusClient client,
String destination, {
DBusObjectPath path = const DBusObjectPath.unchecked('/org/freedesktop/secrets'),
}) : super(client, name: destination, path: path) {
collectionCreated = DBusRemoteObjectSignalStream(
object: this,
interface: 'org.freedesktop.Secret.Service',
name: 'CollectionCreated',
signature: DBusSignature('o'),
).asBroadcastStream().map((signal) => SecretServiceCollectionCreated(signal));
collectionDeleted = DBusRemoteObjectSignalStream(
object: this,
interface: 'org.freedesktop.Secret.Service',
name: 'CollectionDeleted',
signature: DBusSignature('o'),
).asBroadcastStream().map((signal) => SecretServiceCollectionDeleted(signal));
collectionChanged = DBusRemoteObjectSignalStream(
object: this,
interface: 'org.freedesktop.Secret.Service',
name: 'CollectionChanged',
signature: DBusSignature('o'),
).asBroadcastStream().map((signal) => SecretServiceCollectionChanged(signal));
}