flutter_dotenv
flutter_dotenv copied to clipboard
Concat var with string
Hello guys, how I can concat var with new string, I try this, but doesn't work
BASE_URL=https://e229-2806-103e-15-22e7-2d18-3eeb-8994-4740.ngrok-free.app/
API_BASE_URL=$BASE_URL+api/
@cesarureno Try like this,
BASE_URL=https://e229-2806-103e-15-22e7-2d18-3eeb-8994-4740.ngrok-free.app/
API_BASE_URL=${BASE_URL}api/
Use ${} for the String concatenation.