Created
September 21, 2022 23:24
-
-
Save VB10/bddad966a207de82766bb3175d96d16a to your computer and use it in GitHub Desktop.
String Boolean Check
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension StringBoolExtension on String { | |
bool get isTrue => bool.fromEnvironment(this); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment