getPlugins method
Gets the plugins supported by fwupd.
Implementation
Future<List<FwupdPlugin>> getPlugins() async {
var response = await _callMethod('GetPlugins', [],
replySignature: DBusSignature('aa{sv}'));
return (response.returnValues[0] as DBusArray)
.children
.map((child) => (child as DBusDict).mapStringVariant())
.map((properties) => _parsePlugin(properties))
.toList();
}