Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

dart anonymous function

// single line
var sum = (a, b) => a + b;
// multi-line
var sum = (a, b) {
	return a + b;
};
 
PREVIOUS NEXT
Tagged: #dart #anonymous #function
ADD COMMENT
Topic
Name
4+4 =