Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dart has a standard way to externalize settings like Java properties?

Tags:

dart

I'm looking for the right way to externalize the settings in my server Dart application.

In Java the common way would be a property file. Exists something similar in Dart?

like image 937
lascarayf Avatar asked Jul 29 '15 21:07

lascarayf


1 Answers

You can just use a Dart script for your settings. No point in using a different format if there is no specific reason. With a simple import you have it available in a typed way.

like image 171
Günter Zöchbauer Avatar answered Dec 19 '22 20:12

Günter Zöchbauer