Skip to content

Instantly share code, notes, and snippets.

@randy-johnson
Created February 7, 2023 03:16
Show Gist options
  • Save randy-johnson/0b908c4d51b802972574097465c627c0 to your computer and use it in GitHub Desktop.
Save randy-johnson/0b908c4d51b802972574097465c627c0 to your computer and use it in GitHub Desktop.
quintessential-utopia-9882

quintessential-utopia-9882

Created with <3 with dartpad.dev.

class Person {
String name='Randy';
int age = 30;
}
int addNumbers(int num1, int num2) {
return num1 + num2;
}
void main() {
var p1 = Person();
print(p1);
print(p1.name);
int firstResult = addNumbers(1, 23);
int secondResult = addNumbers(6, 7);
print(firstResult);
print(secondResult);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment