Skip to content

Instantly share code, notes, and snippets.

@miketheman
Created October 16, 2020 23:59
Embed
What would you like to do?
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