callCreateCollection method
Invokes org.freedesktop.Secret.Service.CreateCollection()
Implementation
Future<(DBusObjectPath collection, DBusObjectPath prompt)> callCreateCollection(
Map<String, DBusValue> properties,
String alias, {
bool noAutoStart = false,
bool allowInteractiveAuthorization = false,
}) async {
var result = await callMethod(
'org.freedesktop.Secret.Service',
'CreateCollection',
[DBusDict.stringVariant(properties), DBusString(alias)],
replySignature: DBusSignature('oo'),
noAutoStart: noAutoStart,
allowInteractiveAuthorization: allowInteractiveAuthorization,
);
return (result.returnValues[0].asObjectPath(), result.returnValues[1].asObjectPath());
}