Rank 1: Thread
Dear support
I am quite new into the programming world and I am trying to learn flutter/dart and Appwrite as a backend.
I have written some functions in Dart but I cannot return any custom statusCode from the function. According to the open runtimes documentation, it should be possible by res.json({
'areDevelopersAwesome': true,
}, status: 500);
The function does always return statusCode 200 unless it fails.
I have looked into the container from open runtimes and found the two function_types.dart and server.dart at usr/local/src but when I compare those files to the files at open runtimes Github (https://github.com/open-runtimes/open-runtimes/tree/main/runtimes/dart-2.17/src) they are completely different.
Do you know how I can make the custom statusCode work in dart functions?