Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //arrow function
- void main(){
- int result = add(5,4);
- print('Sum is $result');
- }
- int add(int n1,int n2)=>n1+n2;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement