getContent method
Implementation
Future<List<int>> getContent(String ticket) async {
var response = await RequestsPlus.get(
"$fileUrl?unsafe=1&ticket=$ticket",
);
if (response.statusCode == 200) {
return response.bytes().toList();
}
throw Exception("Error while getting file");
}