- function
- return
Functions
examples/dart-intro/functions.dart
main() { var z = add(2, 3); print(z); var q = multiply(2, 3); print(q); } num add(num x, num y) { return x+y; } multiply(x, y) => x*y;
main() { var z = add(2, 3); print(z); var q = multiply(2, 3); print(q); } num add(num x, num y) { return x+y; } multiply(x, y) => x*y;