Skip to content

Instantly share code, notes, and snippets.

@miketheman
Created October 16, 2020 23:59
Show Gist options
  • 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