Created
August 11, 2018 16:01
-
-
Save ThinkDigitalSoftware/6a9dd288a3d6220f5be5bee81dc4ede6 to your computer and use it in GitHub Desktop.
enumString Example
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
void main() { | |
var one = enumString.HELLO; | |
print(one); | |
if(one == enumString.HELLO) | |
print("$one, Jonathan!"); | |
} | |
class enumString{ | |
static const HELLO="hello"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment