Skip to content

Instantly share code, notes, and snippets.

@miketheman
Created October 16, 2020 23:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miketheman/5b2e35013ae12bd44fe51e6d1d9b8d64 to your computer and use it in GitHub Desktop.
Save miketheman/5b2e35013ae12bd44fe51e6d1d9b8d64 to your computer and use it in GitHub Desktop.
flip(inputInt) {
return inputInt = 1 - inputInt;
}
void main() {
print(flip(0));
print(flip(1));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment