optionalFileListFuture method
Implementation
Future<MessageOrError> optionalFileListFuture({
String? address,
String orderBy = 'time_downloaded DESC',
int limit = 10,
String filter = 'downloaded',
String? filterInnerPath,
}) async {
var resultStr = await ZeroNet.instance.cmdFuture(
ZeroNetCmd.optionalFileList,
params: {
'address': address,
'orderby': orderBy,
'limit': limit,
'filter': filter,
'filter_inner_path': filterInnerPath,
},
);
return resultStr.toMsgOrErr;
}