flutter_dotenv
flutter_dotenv copied to clipboard
Get variable values as `int`, `double` and `bool`
Allows to get the variable values casted to the specific type. If the variable does not exist, the fallback is used. However, when also no fallback is provided, an AssertionError is thrown. Furthermore, a FormatException is thrown when the variable exists, but the value can not be casted to the specific type.
Thanks for making a PR for this feature. Have had a skim and looks good will make time for a proper look & a release if merged!
Resolved the merge conflicts :)
Any update on this? Just curious.
@java-james Are there any updates on this / is there anything that still needs to be done before this can be merged?