fileRulesFuture method

Future<Message> fileRulesFuture(
  1. String innerPath
)

Return: Matched content as an array.

Implementation

Future<Message> fileRulesFuture(String innerPath) async {
  var resultStr = await ZeroNet.instance.cmdFuture(
    ZeroNetCmd.fileRules,
    params: {
      'inner_path': innerPath,
    },
  );
  return resultStr.message!;
}