makeFilePublic method
POST /{version}/files/item/public
Makes one file readable by anyone holding its link. Answers with the
nbpf_… public id; the link itself arrives on the file's publicUrl
the next time you read the file. Send filesIntegrationId and path
in body.
Implementation
Future<Object?> makeFilePublic(
{Map<String, Object?>? query,
Object? body,
Map<String, String>? headers}) {
return transport.send(
route: '/{version}/files/item/public',
method: 'POST',
query: query,
body: body,
headers: headers,
pathParams: null,
);
}