flutter_dotenv icon indicating copy to clipboard operation
flutter_dotenv copied to clipboard

Get variable values as `int`, `double` and `bool`

Open Tandashi opened this issue 3 years ago • 3 comments

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.

Tandashi avatar Aug 03 '22 21:08 Tandashi

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!

java-james avatar Aug 04 '22 03:08 java-james

Resolved the merge conflicts :)

Any update on this? Just curious.

Tandashi avatar Oct 19 '22 17:10 Tandashi

@java-james Are there any updates on this / is there anything that still needs to be done before this can be merged?

Tandashi avatar Apr 21 '23 16:04 Tandashi