Advertisement
Guest User

Untitled

a guest
Oct 20th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. //arrow function
  2. void main(){
  3. int result = add(5,4);
  4. print('Sum is $result');
  5. }
  6. int add(int n1,int n2)=>n1+n2;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement