We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The code const is wrong. var url = const String.fromEnvironment( 'API_SERVER_URL', defaultValue: defaultAPIServerURL, );
var url = const String.fromEnvironment( 'API_SERVER_URL', defaultValue: defaultAPIServerURL, );
With the const, the URL is always defaultAPISserverURL, the const should be removed if want to support ENV parameter setup.
The text was updated successfully, but these errors were encountered:
otherwise, the current only supports compile-time define, with --dart-define.
If supports the environment setup, it is easy to use the released version. It is easy for user to switch for the different background servers.
Sorry, something went wrong.
No branches or pull requests
The code const is wrong.
var url = const String.fromEnvironment( 'API_SERVER_URL', defaultValue: defaultAPIServerURL, );
With the const, the URL is always defaultAPISserverURL, the const should be removed if want to support ENV parameter setup.
The text was updated successfully, but these errors were encountered: