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