getRemotes method
Gets the remotes configured in fwupd.
Implementation
Future<List<FwupdRemote>> getRemotes() async {
var response = await _callMethod('GetRemotes', [],
replySignature: DBusSignature('aa{sv}'));
return (response.returnValues[0] as DBusArray)
.children
.map((child) => (child as DBusDict).mapStringVariant())
.map((properties) => _parseRemote(properties))
.toList();
}