kLBPlannerWebsiteAdress top-level constant
The url of the LB Planner website.
This is used to use the public API of the LB Planner which does not require authentication for retrieving metadata.
This value is read from the compile-time variable LB_PLANNER_ENDPOINT
and defaults to localhost:8081
.
In order to set the variable use --dart-define
when building the app:
flutter build [os] --dart-define=LB_PLANNER_ENDPOINT=`VALUE`
Implementation
const kLBPlannerWebsiteAdress = String.fromEnvironment('LB_PLANNER_ENDPOINT', defaultValue: 'http://localhost:6008');