fileDeleteFuture method
Return: "ok" on success, the error message otherwise.
Implementation
Future<MessageOrError> fileDeleteFuture(String innerPath) async {
var resultStr = await ZeroNet.instance.cmdFuture(
ZeroNetCmd.fileDelete,
params: {
'inner_path': innerPath,
},
);
return resultStr.toMsgOrErr;
}