Skip to content

Instantly share code, notes, and snippets.

@luanpotter
Created March 29, 2021 00:14
Show Gist options
  • Save luanpotter/580ea809c1fc04436865761afbdbb7bf to your computer and use it in GitHub Desktop.
Save luanpotter/580ea809c1fc04436865761afbdbb7bf to your computer and use it in GitHub Desktop.
int? addTwo(int? arg) {
if (arg == null) return null;
return arg + 2;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment