dynamic argumentAsFileContentJSON(int index, [File? def]) { var s = argumentAsFileContentString(index, def); return s != null ? dart_convert.json.decode(s) : null; }